When editing a file online, is it possible to change the default commit message?
Best case scenario would be able to remove it completely and then make the user required to type in at least some characters before being able to commit.
Hi Øyvind, welcome to the Atlassian Community
You can do that form the command line. If you simply want to modify your last commit message, type:
git commit --amend
The command above loads the previous commit message into an editor session, where you can make changes to the message, save those changes and exit. When you save and close the editor, the editor writes a new commit containing that updated commit message and makes it your new last commit. You can learn more about it at Rewriting history.
Hope that helps!
Ana
Hi Ana,
You know when you are in inline edit mode in Bitbucket itself and the commit message by default says "yourfile.xyz was edited online with Bitbucket"? This is the text I would like to change.
The question is if it could default to blank?
It is just an extra step to remove the text every time.
It looks like you're new here. Sign in or register to get started.