Skip to content

Commit 32a27b5

Browse files
committed
Merge branch 'maint-1.5.4' into maint
* maint-1.5.4: Documentation/config.txt: Mention branch.<name>.rebase applies to "git pull" doc: clarify definition of "update" for git-add -u
2 parents 6233a52 + 15ddb6f commit 32a27b5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Documentation/config.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ branch.<name>.mergeoptions::
415415

416416
branch.<name>.rebase::
417417
When true, rebase the branch <name> on top of the fetched branch,
418-
instead of merging the default branch from the default remote.
418+
instead of merging the default branch from the default remote when
419+
"git pull" is run.
419420
*NOTE*: this is a possibly dangerous operation; do *not* use
420421
it unless you understand the implications (see linkgit:git-rebase[1]
421422
for details).

Documentation/git-add.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ OPTIONS
7171
the specified filepatterns before exiting.
7272

7373
-u::
74-
Update only files that git already knows about. This is similar
74+
Update only files that git already knows about, staging modified
75+
content for commit and marking deleted files for removal. This
76+
is similar
7577
to what "git commit -a" does in preparation for making a commit,
7678
except that the update is limited to paths specified on the
7779
command line. If no paths are specified, all tracked files in the

0 commit comments

Comments
 (0)