Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git commit amend

# make your change
git add . # or add individual files
git commit --amend --no-edit
# now your last commit contains that change!
# WARNING: never amend public commits
Source by ohshitgit.com #
 
PREVIOUS NEXT
Tagged: #git #commit #amend
ADD COMMENT
Topic
Name
6+8 =