X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Furls-remotes.txt;h=41ec7774f481fd2d70492be4ab2b5e0bf887fc0b;hb=3a882d9696ba2ba46adc107b92b4721e59bb60b4;hp=504ae8a53bca42d7c9ec560b65ddfe14699387a4;hpb=7e4ad908721445b073f3b4ecad55bbd78f032cdc;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/ ------------