Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to add changes to the previous commit in git

git add .
git commit --amend --no-edit
#The --no-edit flag allows to make an amendment 
#to the commit without changing the commit message.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #previous #commit #git
ADD COMMENT
Topic
Name
7+9 =