$ git fetch origin Using the Plain git pull Command If you don't want to integrate new changes directly, then you can instead use git fetch: this will only download new changes, but leave your HEAD branch and working copy files untouched. By default, this integration will happen through a "merge", but you can also choose a "rebase": $ git pull origin master -rebase It will also directly integrate them into your local HEAD branch. Using git pull (and git pull origin master is no exception) will not only download new changes from the remote repository.
0 Comments
Leave a Reply. |