summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd66361)
raw | patch | inline | side by side (parent: bd66361)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 1 Nov 2005 22:03:13 +0000 (14:03 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 1 Nov 2005 22:03:13 +0000 (14:03 -0800) |
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>
special case the current directory can be specified to perform
merges across local branches.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-pull.txt | patch | blob | history | |
Documentation/tutorial.txt | patch | blob | history |
index bae05dee99ebaa7866885d3d8a36cde81e5d700e..cef4c0ae38d46869420ca6d317e24b279bcb6d9d 100644 (file)
into the local HEAD. Otherwise uses 'git octopus' to merge them
into the local HEAD.
+Note that you can use '.' (current directory) as the
+<repository> to pull from the local repository -- this is useful
+when merging local branches into the current branch.
OPTIONS
-------
index b9f737e9640a4a4a5c9554c8d6bdd1b7847ec5b2..20a4cb1df40004ce3f73e52bae5fc71522bacaf1 100644 (file)
[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