X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Furls-remotes.txt;h=41ec7774f481fd2d70492be4ab2b5e0bf887fc0b;hb=1973b0d790155b5d8a32a6f7401116fad2205721;hp=504ae8a53bca42d7c9ec560b65ddfe14699387a4;hpb=847d10f56d7853cd0e139a7c2e6ad0ad2de5c464;p=git.git diff --git a/Documentation/urls-remotes.txt b/Documentation/urls-remotes.txt index 504ae8a53..41ec7774f 100644 --- a/Documentation/urls-remotes.txt +++ b/Documentation/urls-remotes.txt @@ -68,13 +68,22 @@ This file should have the following format: ------------ `` is required; `#` is optional. -When you do not provide a refspec on the command line, -git will use the following refspec, where `` defaults to `master`, -and `` is the name of this file -you provided in the command line. + +Depending on the operation, git will use one of the following +refspecs, if you don't provide one on the command line. +`` is the name of this file in `$GIT_DIR/branches` and +`` defaults to `master`. + +git fetch uses: + +------------ + refs/heads/:refs/heads/ +------------ + +git push uses: ------------ - refs/heads/: + HEAD:refs/heads/ ------------