Document the --no-commit flag
PATCH 1/1 Document the --no-commit flag
Also add the reference to merge and fetch options in git-pull's synopsis.
Signed-off-by Petr Baudis <[email protected]>
---
Documentation/git-merge.txt | 6 +++++- Documentation/git-pull.txt | 2 +- git-pull.sh | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-)
Documentation/git-merge.txt +5 -1
@@ -8,7 +8,7 @@ git-merge - Grand Unified Merge Driver SYNOPSIS -------- -'git-merge' [-n] [-s <strategy>]... <msg> <head> <remote> <remote>... +'git-merge' [-n] [--no-commit] [-s <strategy>]... <msg> <head> <remote> <remote>... DESCRIPTION
@@ -22,6 +22,10 @@ OPTIONS -n:: Do not show diffstat at the end of the merge. +--no-commit:: + Do not commit right away - it just does the merge and lets you commit + manually after you inspect the changes done. + -s <strategy>:: use that merge strategy; can be given more than once to specify them in the order they should be tried. If
Documentation/git-pull.txt +1 -1
@@ -8,7 +8,7 @@ git-pull - Pull and merge from another r SYNOPSIS -------- -'git-pull' <repository> <refspec>... +'git-pull' [merge_options] [fetch_options] <repository> <refspec>... DESCRIPTION
git-pull.sh +1 -1
@@ -7,7 +7,7 @@ . git-sh-setup || die "Not a git archive" usage () { - die "git pull [-n] [-s strategy]... <repo> <head>..." + die "git pull [-n] [--no-commit] [-s strategy]... <repo> <head>..." } strategy_args= no_summary= no_commit=
Dear diary, on Fri, Nov 04, 2005 at 03:55:05PM CET, I got a letter where Petr Baudis <[email protected]> said that...
Quoted 3 lines
Also add the reference to merge and fetch options in git-pull's synopsis.
Signed-off-by Petr Baudis <[email protected]>
Any problems with this patch?
Signature · 4 lines
Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.
Quoted 1 line · Petr Baudis
Any problems with this patch?
It has been done a bit differently by Jon Loeliger (please see Documentation/merge-options.txt).
Anyways, thanks for the patch and attention to the detail. Always appreciated.