Created
August 10, 2017 13:43
-
-
Save andreasvirkus/bee8dfa687ea34fcbe6f1ed69a28a283 to your computer and use it in GitHub Desktop.
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
# Just so I'd remember how to add files that you forgot to a local commit | |
# Maybe one day I'll learn... x_x | |
# edited file-that-i-remember.txt | |
git add file-that-i-remember.txt | |
git commit | |
# realize you forgot a file | |
git add file-that-i-forgot.txt | |
git commit --amend --no-edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment