Skip to content

Instantly share code, notes, and snippets.

@n-st
Created February 8, 2014 17:19
Show Gist options
  • Save n-st/8887013 to your computer and use it in GitHub Desktop.
Save n-st/8887013 to your computer and use it in GitHub Desktop.
Merge 'dev' into 'master', discarding the state of 'master'. Created by https://gist.github.com/ojacobson/.
git commit-tree dev^{tree} -p master -p dev <<'MESSAGE'
Replace master with dev branch.
MESSAGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment