summaryrefslogtreecommitdiff
path: root/Documentation/fetch-options.txt
blob: 0e502ae68d22d5dd5ecb25500cc80f884d775c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-a, \--append::
	Append ref names and object names of fetched refs to the
	existing contents of `.git/FETCH_HEAD`.  Without this
	option old data in `.git/FETCH_HEAD` will be overwritten.
 
-f, \--force::
 
-t, \--tags::
	By default, the git core utilities will not fetch and store
	tags under the same name as the remote repository;  ask it
	to do so using `--tags`.
 
-u, \--update-head-ok::
	By default `git-fetch` refuses to update the head which
	corresponds to the current branch.  This flag disables the
	check.  Note that fetching into the current branch will not
	update the index and working directory, so use it with care.