Remove deleted files from git
Have you moved or deleted several files and want to remove them from your local repo? It's easy!
git add -u
This git command will delete all removed files and update modified files.
Written by Carlos Hernández
Related protips
1 Response
I can't believe I didn't know this. Thanks for sharing.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#