In a branch, say, there are 25 commits: A <- B <- C ... X <-Y. I once reverted C to Y in a batch commit by:
A <- B <- C ... X <-Y
C
Y