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 113 times
1
Sachin Kainth
- 45,256
- 81
- 201
- 304
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.
ДМИТРИЙ МАЛИКОВ
- 21,474
- 11
- 78
- 131