Last Updated: February 25, 2016
·
1.358K
· amrelhagary

remove git orig file without git clean

type in your shell

for interactive mode

$ find . -type f -name "*.orig" -exec rm {} -i \;

for force without confirmation

$ find . -type f -name "*.orig" -exec rm {} -f \;