Re: Revert a single commit in a single file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes:
> We could have with <path>:
>
>     Revert "some commit"
>
>     This partially reverts commit <sha1>. Only the path <path> has
>     been reverted, which is X out of Y files changed in the original
>     commit.

Perhaps you want to do something like:

     git revert <commit> <path1> <path2> ...

In such case the text "Only de path <path>..." makes no sense. I think
something like:

     Partial Revert (x/y) "some commit"

     This partially reverts commit <sha1>

...whould be a better choice. Summaries will show that 'x' of the 'y'
files committed in <sha1> have been reverted.

Cheers
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]