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

[gits] n00b question about reverting changes

	Suresh> my master-branch history looks a little more complicated (and
	Suresh> I?m not sure exactly why tbh). Is it possible to say instead
	Suresh> git revert ?some previous commit?..HEAD ? 

Note that if you say "foo..bar", "foo" is not included in the set of commits to
be reverted.

"Because git."

I think I screwed up my previous example, by the way.  Sorry.  I should have
said "HEAD~3..HEAD".


Eric Eide <eeide at cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX