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 418 times
1 Answers
0
Use this:
git revert <commit id>
For example
git revert dd61ab32
msc
- 32,079
- 22
- 110
- 197
-
Does it work if the commit it between several commits? – Asad Khan Feb 21 '17 at 19:32