author | Jonathan Nieder <jrnieder@gmail.com> | |
Fri, 9 Oct 2009 23:07:39 +0000 (18:07 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 10 Oct 2009 00:21:46 +0000 (17:21 -0700) | ||
commit | 33405be34bcb72d8fe69463c80c542eacb19b7ef | |
tree | 06a548e2ab557dca79f97bc45a964aa81f6e5275 | tree | snapshot |
parent | a17a9606e49dd3ad08558706f85475a694deb68b | commit | diff |
Documentation: clone: clarify discussion of initial branch
When saying the initial branch is equal to the currently active
remote branch, it is probably intended that the branch heads
point to the same commit. Maybe it would be more useful to a
new user to emphasize that the tree contents and history are the
same.
More important, probably, is that this new branch is set up so
that "git pull" merges changes from the corresponding remote
branch. The next paragraph addresses that directly. What the
reader needs to know to begin with is that (1) the initial branch
is your own; if you do not pull, it won't get updated, and that
(2) the initial branch starts out at the same commit as the
upstream.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When saying the initial branch is equal to the currently active
remote branch, it is probably intended that the branch heads
point to the same commit. Maybe it would be more useful to a
new user to emphasize that the tree contents and history are the
same.
More important, probably, is that this new branch is set up so
that "git pull" merges changes from the corresponding remote
branch. The next paragraph addresses that directly. What the
reader needs to know to begin with is that (1) the initial branch
is your own; if you do not pull, it won't get updated, and that
(2) the initial branch starts out at the same commit as the
upstream.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt | diff | blob | history |