Friday, March 22, 2019

Git revert commands

# It also takes ranges. This will revert the last two commits:
git revert HEAD~2..HEAD
# It also takes ranges. This will revert the last three commits:
git revert HEAD~3..HEAD
git revert --no-commit 0766c053..HEAD
git commit
This will revert everything from the HEAD back to the commit hash 0766c053

HEAD means the current version. 

More from this link: https://stackoverflow.com/questions/4114095/how-to-revert-a-git-repository-to-a-previous-commit





1 comment:

Unknown said...

This is how my pal Wesley Virgin's story launches in this SHOCKING and controversial video.

As a matter of fact, Wesley was in the military-and soon after leaving-he revealed hidden, "SELF MIND CONTROL" secrets that the government and others used to obtain anything they want.

THESE are the same secrets tons of famous people (notably those who "became famous out of nowhere") and the greatest business people used to become rich and successful.

You probably know how you use less than 10% of your brain.

Really, that's because most of your brainpower is UNCONSCIOUS.

Maybe that conversation has even occurred INSIDE your very own head... as it did in my good friend Wesley Virgin's head about 7 years back, while riding an unregistered, beat-up trash bucket of a car without a driver's license and $3 in his bank account.

"I'm absolutely frustrated with going through life payroll to payroll! Why can't I become successful?"

You took part in those thoughts, ain't it right?

Your own success story is going to be written. Go and take a leap of faith in YOURSELF.

WATCH WESLEY SPEAK NOW