If I am on a particular branch and I do a git fetch does it pull down all the data for that branch only or for all branches for that repository?
Asked
Active
Viewed 96 times
1
Sachin Kainth
- 43,353
- 79
- 196
- 295
1 Answers
2
git fetch fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them. It means that it updates all <remote>/<branch> and all the tags.
git fetch <remote> <branch> fetches specified branch from specified repository only.
ДМИТРИЙ МАЛИКОВ
- 20,616
- 10
- 76
- 127