When I click "amend latest commit" it doesn't seem to add the last commit message (post commit-msg hook) to the commit message text box for me. In my case we use gerrit and there is a unique Change-Id generated in the commit-msg hook that needs to be sent withi any amended changes.
using the command line tools "git commit --amend" does this, as do other GUI clients I have used.
I don't think this would be desired behaviour for most people anyway; when you amend a commit, you want control over what's in the commit message. If your tools like to see change ids, you can add them - but really I don't think amending commits that have already been pushed elsewhere is a good idea anyway.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs