atlassian sourcetree - How to amend a specific commit message in Git? -


i trying change commit message in sourcetree cannot find option is. has not been pushed yet.

how can amend message older commits in sourcetree or command line?

there no feature because how git internally work, sha1 seal each commit.

but :

  • do 'amend' if message 1 of last commit.

  • do git rebase -i named rebase interactive , choose 'reword' (or 'r') each commit want rewrite commit message.

  • use git 'notes' join new comment next existing 1 (but handle not straightforward... )


Popular posts from this blog

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -