Skip to content

Instantly share code, notes, and snippets.

@varnav
Last active July 13, 2019 18:08
Show Gist options
  • Save varnav/0e87701d4b6113aed3c938a1c7f1259e to your computer and use it in GitHub Desktop.
Save varnav/0e87701d4b6113aed3c938a1c7f1259e to your computer and use it in GitHub Desktop.
Merge devel to master and reset it
git checkout master
git merge --squash devel
git commit
git branch -f devel master
git push --all -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment