Skip to content

Instantly share code, notes, and snippets.

@bjorg
Created December 16, 2014 22:22
Show Gist options
  • Save bjorg/ad26fc25e31b182e07c5 to your computer and use it in GitHub Desktop.
Save bjorg/ad26fc25e31b182e07c5 to your computer and use it in GitHub Desktop.
Remove .orig files from a git repo.
#!/bin/sh
find . -name '*.orig' -type f | xargs /bin/rm -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment