Can anyone tell me how can I remove a specific commit from master? This commit is 10 commits down. I mean 10 commits have been pushed after this commit. How many ways can we do it?
Asked
Active
Viewed 423 times
1 Answers
0
Use this:
git revert <commit id>
For example
git revert dd61ab32

msc
- 33,420
- 29
- 119
- 214
-
Does it work if the commit it between several commits? – Asad Khan Feb 21 '17 at 19:32