Bulk remove files from Git
If you delete a whole lot of files and you want to commit those deletions, running 'git rm' for each file can take a long time. Instead, you can run the following to stage all removals in one go.
git add -u
Written by Kieran Pilkington
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#