Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git add missed to last commit

# 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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #add #missed #commit
ADD COMMENT
Topic
Name
2+3 =