On Sat, Jul 15, 2006 at 02:40:30PM -0700, Linus Torvalds wrote:
> On Sat, 15 Jul 2006, Willy Tarreau wrote:
> >
> > You would need to git-reset then git-commit
>
> Actually, these days we suggest doing
>
> git commit --amend
>
> instead to change the top commit if you mis-type something or find a
> problem.
>
> But, as you point out:
>
> > but it's a little bit dirty
> > and my annoy the users who will have already fetched your tree.
>
> Indeed. Something that has already been exported should _not_ be amended,
> because it generates a whole new commit, and people who have already
> gotten the old one would be unhappy.
Yes, I'll just live with it and remember this for next time.
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]