Last active
October 22, 2015 11:49
-
-
Save samdark/79b5ca02a698b5a43fdc to your computer and use it in GitHub Desktop.
sqash-merge pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout -b local-branch-name master | |
git pull https://github.com/username/repo.git remote-branch-name | |
git --no-pager show -s --format='%an <%ae>' FETCH_HEAD | |
git merge --squash local-branch-name | |
git commit -am 'commit message' --author="author name <[email protected]>" | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment