Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # A small shell script to fixup (i.e. squash and remove the commit
- # message) of the top commit on a branch into the previous commit.
- export GIT_EDITOR="sed -e 2s/^pick/fixup/ -i "
- git rebase -i HEAD^^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement