Changing a commit message
If a commit message contains unclear, incorrect, or sensitive information, you can amend it locally and push a new commit with a new message to GitHub Enterprise Cloud. You can also change a commit message to add missing information.