summaryrefslogtreecommitdiffstats
path: root/git-pull.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-11-18 00:53:09 +0000
committerJunio C Hamano <junio@kernel.org>2010-11-18 00:53:09 +0000
commit982eb11dc5ca975628029adef95a96309ae25294 (patch)
treed4bedc784e5b27293e50d6657b2171549f0be2d6 /git-pull.txt
parentc3fda57fff8451d3c28afc16c6ace06cfd087981 (diff)
downloadgit-htmldocs-982eb11dc5ca975628029adef95a96309ae25294.tar.gz
Autogenerated HTML docs for v1.7.3.2-245-g03276
Diffstat (limited to 'git-pull.txt')
-rw-r--r--git-pull.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/git-pull.txt b/git-pull.txt
index c50f7dcb8..e1b0bd286 100644
--- a/git-pull.txt
+++ b/git-pull.txt
@@ -92,12 +92,14 @@ include::merge-options.txt[]
:git-pull: 1
--rebase::
- Instead of a merge, perform a rebase after fetching. If
- there is a remote ref for the upstream branch, and this branch
- was rebased since last fetched, the rebase uses that information
- to avoid rebasing non-local changes. To make this the default
- for branch `<name>`, set configuration `branch.<name>.rebase`
- to `true`.
+ Rebase the current branch on top of the upstream branch after
+ fetching. If there is a remote-tracking branch corresponding to
+ the upstream branch and the upstream branch was rebased since last
+ fetched, the rebase uses that information to avoid rebasing
+ non-local changes.
++
+See `branch.<name>.rebase` in linkgit:git-config[1] if you want to make
+`git pull` always use `{litdd}rebase` instead of merging.
+
[NOTE]
This is a potentially _dangerous_ mode of operation.