Created
January 18, 2013 22:18
-
-
Save alaahd/4569144 to your computer and use it in GitHub Desktop.
remove deleted files from the index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//remove deleted files from the index (unstage) | |
git ls-files -d | xargs git rm --cached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment