Skip to content

Commit c30e567

Browse files
Miklos Vajnagitster
authored andcommitted
gittutorial: remove misleading note
In the tutorial Alice initializes the repository, and Bob clones it. So Bob can just do a 'git pull', but Alice will need 'git pull <url> <branch>'. The note suggested that the branch parameter is not necessary, which is no longer true these days. Signed-off-by: Miklos Vajna <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0990e7a commit c30e567

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Documentation/gittutorial.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,7 @@ alice$ git pull /home/bob/myrepo master
308308

309309
This merges the changes from Bob's "master" branch into Alice's
310310
current branch. If Alice has made her own changes in the meantime,
311-
then she may need to manually fix any conflicts. (Note that the
312-
"master" argument in the above command is actually unnecessary, as it
313-
is the default.)
311+
then she may need to manually fix any conflicts.
314312

315313
The "pull" command thus performs two operations: it fetches changes
316314
from a remote branch, then merges them into the current branch.

0 commit comments

Comments
 (0)