Quantcast
Channel: Comments on: Bash script to remove deleted files from git
Browsing all 3 articles
Browse latest View live

By: Santi

Another way: git ls-files –deleted | xargs git rm

View Article



By: Bjørn

And if you don’t mind changed files also added to the index: git add -u

View Article

By: Rafael Fernández López

Actually there is one better: git ls-files –deleted | xargs –no-run-if-empty git rm

View Article
Browsing all 3 articles
Browse latest View live




Latest Images