w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
git branching: difference between ``git merge master`` and ``git pull origin master``

git pull is essentially a combination of git fetch and git merge. So the difference to just using git merge is that it will first fetch new revisions from the remote repository and then perform the merge.

If your local master branch is up to date, this will make no difference, but if it is outdated, git pull will make sure that you merge the newest changes from the remote repository.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.