How do we revert an old commit in git that has already been pushed and made public and get it back to the main repository?
Asked
Active
Viewed 55 times
0
-
check this: https://stackoverflow.com/questions/22682870/git-undo-pushed-commits – mvlaicevich Sep 08 '17 at 17:35
-
4Possible duplicate of [Git - Undo pushed commits](https://stackoverflow.com/questions/22682870/git-undo-pushed-commits) – Ken White Sep 08 '17 at 17:37
-
1What does "get it back to the main repository" mean? – ChrisGPT was on strike Sep 08 '17 at 18:06
-
Like I wanted to know how to undo the commit i have done and roll back the original file. – Sep 09 '17 at 03:34