Difference between revisions of "Git"
From neil.tappsville.com
Jump to navigationJump to search (Created page with "===Local Changes vs Repo=== git log origin/master..HEAD You can also view the diff using the same syntax git diff origin/master..HEAD") |
m |
||
Line 4: | Line 4: | ||
git diff origin/master..HEAD | git diff origin/master..HEAD | ||
+ | |||
+ | Wipe all local changes and get the latest from the repo | ||
+ | git rebase origin/master |
Revision as of 03:59, 27 September 2019
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