среда, 25 февраля 2015 г.

How to check for changes on remote (origin) git repository?

You could git fetch origin to update the remote branch in your repository to point to the latest version. For a diff against the remote:

 git diff origin/master

If you want to accept the remote changes:

 git merge origin/master

Комментариев нет: