Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道 git 命令窗口中的替代命令行?
del *.orig /s
(所以删除所有扩展名为 .orig recursive 的文件)
您不必使用 xargs 来完成此操作...
find . -name *.orig -exec git rm -r --cached {} \;
Looks like you're running in windows? If you're using git bash, you can do:
find -name *.orig | xargs rm