Git - Fetch (Remote Repository Sync)

> Code - (Programming|Computer) Language > Code Versioning > Git

1 - About

A fetch will sync information locally from a remote repository.

git fetch fetch (ie collect metadata information):

(collectively, “refs”) from one or more other remote repositories, along with the objects necessary to complete their histories.

With fetch, when brings down new remote-tracking branches, you don’t automatically have local, editable copies of them. In other words, you don’t have a new branch — you only have an origin/branchName pointer that you can’t modify.

Advertising

3 - Documentation / Reference

code/version/git/fetch.txt · Last modified: 2019/04/25 11:10 by gerardnico