4

I have commited some change with git. Now I would like to change the commit text. Is there any possibility to do that? I am using eclipse git and gittortoise

Aleksandr Erokhin
  • 1,735
  • 3
  • 14
  • 30
user1167753
  • 659
  • 3
  • 6
  • 13

1 Answers1

12

you may use git commit --amend -m "message" or may do this which is fairly equivalent :

$ git reset --soft HEAD
$ ... do something else to come up with the right tree ...
$ git commit -c ORIG_HEAD
the_unknown_spirit
  • 2,308
  • 4
  • 29
  • 53