Help the world stop coronavirus! Stay home!

Prev Next

Maven / GIT Interview Questions

Explain git revert command.

The git revert command is used for undoing changes to a repository's commit history. Git revert expects a commit ref passed in. To revert the latest commit use git revert HEAD command.

git revert simply creates a new commit that is the opposite of an existing commit. So a git push need to be followed to update in remote repository.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

JUnit

Comments & Discussions