Created
June 14, 2012 15:15
-
-
Save tmoreira2020/2930919 to your computer and use it in GitHub Desktop.
Rollbacks a git commit
This file contains 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
function gitrollback() { git diff -p -R "$1"^ "$1" > "$1".rollback ;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment