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

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo