Last active
December 17, 2015 15:39
-
-
Save otkrsk/5633072 to your computer and use it in GitHub Desktop.
Sometimes, files are deleted from a repo because they have become irrelevant. This is how you commit those changes for files that have been deleted.
This file contains hidden or 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 add -u | |
| Additional info: | |
| git add -A (stages All) | |
| git add . (stages new and modified, without deleted) | |
| git add -u (stages modified and deleted, without new) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment