Created
September 11, 2014 14:41
-
-
Save pepoviola/0f7fbc59d08acbd878ce to your computer and use it in GitHub Desktop.
git commands
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
git rm $(git ls-files --deleted) | |
This will ONLY remove the deleted files from the git. | |
It could be also be used for adding ONLY modified files also. | |
git add $(git ls-files --modified) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment