commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This command handles git rm'ing files that you've deleted.
There is 1 alternative - vote for the best!
It deletes all removed files, updates what was modified, and adds new files.
I've used technicalpickles command a lot, but this one handles whitespaces in filenames. I'm sure you want to create an alias for it :)
-u tells git to automatically stage all changes to files in the index (eg. deleted and modified files).
If you can do better, submit your command here.
You must be signed in to comment.