I pushed it a few minutes ago. I doubt somebody has checked out the changes yet. I'd rather just amend the commit comment. If I wanted to force the push should I do
git push --force [email protected]:physics/mainline.git Do you think it can break subsequent pulls? I Just want to amend the commit comment. Thanks, Asaf On Fri, Jul 24, 2009 at 2:46 PM, Chris Ball<[email protected]> wrote: > Hi, > > >> Is there a way to fix the comment? > > > Sure. git-commit --amend, per > > http://www.kernel.org/pub/software/scm/git/docs/git-commit.html > > That's only going to work for commits that haven't been pushed yet; > once you've pushed something, GIT won't let you transparently rewrite > it later without --force, and that's bad form on a shared repository. > (Because it can break subsequent pulls for clients that already have > a checkout.) > > I'd just make a new commit that corrects the comment, if you think > that's justified. > > - Chris. > -- > Chris Ball <[email protected]> > _______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

