Skip to content

Instantly share code, notes, and snippets.

@hfknight
Last active December 7, 2018 14:54
Show Gist options
  • Save hfknight/98b94018ead92f8e677cd27bbf4a1a83 to your computer and use it in GitHub Desktop.
Save hfknight/98b94018ead92f8e677cd27bbf4a1a83 to your computer and use it in GitHub Desktop.

sync master (rebase)

git rebase master
git rebase --continue
git push -f 

overwrite local w/ remote

git reset --hard origin/branch-name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment