Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git edit last commit message

# with file changes
git commit --amend -m "Commit Message"

# without file changes, update only commit message
git commit --amend -m "Updated Commit Message" --no-edit
Source by www.git-tower.com #
 
PREVIOUS NEXT
Tagged: #git #edit #commit #message
ADD COMMENT
Topic
Name
2+2 =