aboutsummaryrefslogtreecommitdiff
path: root/Documentation/tutorial.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-01 14:03:13 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-01 14:03:13 -0800
commit710c97dbb1a4469816ae01f4a26661cdba2c401b (patch)
treeb9f089c1d3dc1bb2792cfcd0e6b9c56f271045e9 /Documentation/tutorial.txt
parentbd66361195c5503261a2d1eef6aa685deb058ffb (diff)
downloadgit-710c97dbb1a4469816ae01f4a26661cdba2c401b.tar.gz
git-710c97dbb1a4469816ae01f4a26661cdba2c401b.tar.xz
Document the use of "current directory" as pull source.
The repository to pull from can be a local repository, and as a special case the current directory can be specified to perform merges across local branches. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/tutorial.txt')
-rw-r--r--Documentation/tutorial.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt
index b9f737e96..20a4cb1df 100644
--- a/Documentation/tutorial.txt
+++ b/Documentation/tutorial.txt
@@ -1028,7 +1028,9 @@ multiple working trees, but disk space is cheap these days.
[NOTE]
You could even pull from your own repository by
-giving '.' as <remote-repository> parameter to `git pull`.
+giving '.' as <remote-repository> parameter to `git pull`. This
+is useful when you want to merge a local branch (or more, if you
+are making an Octopus) into the current branch.
It is likely that you will be pulling from the same remote
repository from time to time. As a short hand, you can store