Created
November 20, 2014 16:04
-
-
Save wolffan/d231d92e55064adab5f1 to your computer and use it in GitHub Desktop.
Remove .orig files with this git hook (copy on ./git/hooks
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
echo "Looking for .orig files to remove" | |
pwd=$(pwd) | |
find . -type f -name \*.orig -exec rm {} \; | |
echo "Done removing .orig files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment