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... )