git fetch documentation
- From
- Nicolas Richard <theonewiththeevillook@yahoo.fr>
- Date
- Jun 1, 2013, 11:04 UTC
- Message-ID
- <87sj12rt13.fsf@yahoo.fr>
Hello,
Regarding the git-fetch man page (IIUC, in pull-fetch-param.txt), in particular the <refspec> explanation, I feel that two facts are missing:
- A '*' can be used both in src and dest, and it matches any name, including subdirectories, but not partial names (i.e. refs/heads/foo* is invalid). - multiple fetch lines can be given in .git/config, each of them will be obeyed
These are probably obvious for most users, but I think documenting them would be good for newcomers. (I tried to come up with a patch but I can't find a precise yet concise way to explain the role of '*' in english.)
-- Nico.