Skip to content

Instantly share code, notes, and snippets.

@seanbehan
Created January 12, 2012 16:42
Show Gist options
  • Save seanbehan/1601516 to your computer and use it in GitHub Desktop.
Save seanbehan/1601516 to your computer and use it in GitHub Desktop.
Recursively Delete .Orig Files After Failed Git Merge
# recursively delete original files after a git merge failure
find . -name *.orig -delete
@masellfoodpanda
Copy link

Git clean is recursive. Just do:

git clean *.orig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment