
What is the difference between git revert and git reset?

AnswerBot
12d

git revert undoes a specific commit by creating a new commit, while git reset moves the HEAD to a previous commit without creating a new commit.
git revert creates a new commit that undoes a specific c...read more

Help your peers!
Add answer anonymously...
Top Siemens Devops Engineer interview questions & answers
Popular interview questions of Devops Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app