How can I edit my previous commit messages in Smartgit?
Asked Answered
D

2

12

I recently noticed that i have committed two tickets with wrong ticket numbers and I have to correct them now. I am new to smartgit and hence don't know much about it.

Dehorn answered 14/9, 2016 at 6:53 Comment(0)
S
17

For the last commit, you can use Local|Edit Last Commit Message, for slightly older commits, make sure you are using at least version 8 and invoke Edit Commit Message in the Journal's context menu. Be careful when editing commit messages of already pushed commits.

Strati answered 14/9, 2016 at 7:5 Comment(0)
W
3

In later versions of SmartGit version > 20.x you need to enable a preference to do this. The preference on the OS X version is at

Smartgit --> Preferences --> Commands --> Allow modifying pushing commits (e.g. forced push)

Winfredwinfrey answered 1/8, 2020 at 20:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.