diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-06 00:52:57 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-06 18:17:14 -0800 |
commit | 95d117b6051c01726b67d3151f83e47dd41c0743 (patch) | |
tree | 3d07d3bd2f319d0df6c2402c1084d44ce6b69c67 /Documentation/git-clone.txt | |
parent | f1790448628262e46496861bb6da76be63a2a247 (diff) | |
download | git-95d117b6051c01726b67d3151f83e47dd41c0743.tar.gz git-95d117b6051c01726b67d3151f83e47dd41c0743.tar.xz |
Set up remotes/origin to track all remote branches.
This implements the idea Daniel Barkalow came up with, to match
the remotes/origin created by clone by default to the workflow I
use myself in my guinea pig repository, to have me eat my own
dog food.
We probably would want to use either .git/refs/local/heads/*
(idea by Linus) or .git/refs/heads/origin/* instead to reduce
the local ref namespace pollution.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r-- | Documentation/git-clone.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index cbd83f35d..fefd2985f 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -25,7 +25,8 @@ This is to help the typical workflow of working off of the remote `master` branch. Every time `git pull` without argument is run, the progress on the remote `master` branch is tracked by copying it into the local `origin` branch, and merged into the -branch you are currently working on. +branch you are currently working on. Remote branches other than +`master` are also added there to be tracked. OPTIONS |