Re: [Gimp-docs] wrong commit comment

2011-03-20 Thread Ulf-D. Ehlert
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


signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] wrong commit comment

2011-03-20 Thread Roman Joost
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: romanof...@gimp.org


signature.asc
Description: Digital signature
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] wrong commit comment

2011-03-19 Thread Roman Joost
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: romanof...@gimp.org


signature.asc
Description: Digital signature
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs