Git

From neil.tappsville.com
Revision as of 03:59, 27 September 2019 by Gonzo (talk | contribs)
Jump to navigationJump to search

Local Changes vs Repo

git log origin/master..HEAD

You can also view the diff using the same syntax

git diff origin/master..HEAD

Wipe all local changes and get the latest from the repo

git rebase origin/master