git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about git revert
@ 2010-07-08  1:50 Hal Eisen
  2010-07-08  3:05 ` Christian Couder
  2010-07-08  4:51 ` Elijah Newren
  0 siblings, 2 replies; 3+ messages in thread
From: Hal Eisen @ 2010-07-08  1:50 UTC (permalink / raw)
  To: git

I did a search of the archives for this mailing list, and couldn't
find anything applicable.

I am having the same problem as Joshua Cheek.  He asked this question
on StackOverflow about a month ago.

http://stackoverflow.com/questions/2938301/git-remove-specific-commit

There are no merges involved.  I would be perfectly happy having
another commit in my history which documents the reverting of a prior
commit.

The problem seems to stem from git-revert not properly calculating the
"cleanness" of the prior commit, and incorrectly thinking that later
commits depend on the to-be-reverted commit.

I have seen other web sites which suggest using git to manually
generate a diff, and then applying it as a reverse patch, but that
seems like a kludge.

What is the best solution for this use case?

Thanks,
Hal

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-08  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08  1:50 Question about git revert Hal Eisen
2010-07-08  3:05 ` Christian Couder
2010-07-08  4:51 ` Elijah Newren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).