Reputation: 2637
I did git up and then git push on my branch. Now, I have all the changes I made plus all the changes everyone else made and so my push includes hundreds of commits.
My understanding is that git revert [commit number]
lets me undo commits, but then I would have to run that hundreds of times for each of the changes.
Is there a way to undo the whole commit?
Upvotes: 0
Views: 61