3

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,904
  • 3
  • 17
  • 32
user1167753
  • 705
  • 3
  • 7
  • 15

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,518
  • 7
  • 34
  • 56