RSS/Atom feed Twitter
Site is read-only, email is disabled

wrong commit comment

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

wrong commit comment Vitaly Lomov 19 Mar 13:25
  wrong commit comment Roman Joost 20 Mar 03:29
  wrong commit comment Ulf-D. Ehlert 20 Mar 17:39
   wrong commit comment Roman Joost 21 Mar 01:04
    wrong commit comment Ulf-D. Ehlert 21 Mar 12:14
Vitaly Lomov
2011-03-19 13:25:14 UTC (over 13 years ago)

wrong commit comment

Hi,
Is it possible to change the commit comment after 'git push'? I had it right, but noticed that my username was wrong, did 'git commit --amend', but it didn't do what I expected, so I committed with the wrong comment.
Vitaly

Roman Joost
2011-03-20 03:29:56 UTC (over 13 years ago)

wrong commit comment

Hi Vitaly,

On Sat, Mar 19, 2011 at 06:25:14AM -0700, Vitaly Lomov wrote:

Is it possible to change the commit comment after 'git push'?

Not that I know of.

I had it right, but noticed that my username was wrong, did 'git commit --amend', but it didn't do what I expected, so I committed with the wrong comment.

IMHO you can also change the username and e-mail, but not with git commit --amend.

See: http://stackoverflow.com/questions/750172/how-do-i-change-the-author-of-a-commit-in-git

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2011-03-20 17:39:35 UTC (over 13 years ago)

wrong commit comment

Vitaly Lomov (Saturday, 19. March 2011)

Hi,
Is it possible to change the commit comment after 'git push'? I had it right, but noticed that my username was wrong, did 'git commit --amend', but it didn't do what I expected, so I committed with the wrong comment.
Vitaly

It looks like it's possible, see "Rewriting a single commit" in the Git User’s Manual:

http://www.kernel.org/pub/software/scm/git/docs/user- manual.html#rewriting-one-commit

Make sure that you have an excellent excuse if you mess up the repository... ;-)

Ulf

Im Grunde geschieht alles im Leben so freiwillig wie unsere Geburt.
		-- Karlheinz Deschner
Roman Joost
2011-03-21 01:04:49 UTC (over 13 years ago)

wrong commit comment

Hi Ulf,

On Sun, Mar 20, 2011 at 06:39:35PM +0100, Ulf-D. Ehlert wrote:

Vitaly Lomov (Saturday, 19. March 2011)

Hi,
Is it possible to change the commit comment after 'git push'? I had it right, but noticed that my username was wrong, did 'git commit --amend', but it didn't do what I expected, so I committed with the wrong comment.
Vitaly

It looks like it's possible, see "Rewriting a single commit" in the Git User’s Manual:

http://www.kernel.org/pub/software/scm/git/docs/user- manual.html#rewriting-one-commit

Make sure that you have an excellent excuse if you mess up the repository... ;-)

Are you sure that this works on a pushed commit? All I can see in this instruction is that you work on your local checkout, without having pushed your commits.

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2011-03-21 12:14:15 UTC (over 13 years ago)

wrong commit comment

Roman Joost (Monday, 21. March 2011)

Are you sure that this works on a pushed commit?

No (of course) -- I've never tried. Let's see what happens... ;-)

Ulf

Wer zufrieden ist mit der Welt, wie sie ist, hat alle mit auf
dem Gewissen, die Grund haben, damit unzufrieden zu sein.
		-- Karlheinz Deschner