I have two remotes for one of my git repositories.
1. origin
2. new-origin
I always used to push my commits to the new-origin
remote. But today I accidentally pushed my commits to the origin
remote. So is there any way to revert these commits from the origin
remote?.
I have searched and tried a lot of ways but am only getting ways to remove pushed commits. I am scared if I remove those commits by git reset
it might affect my new-origin
also.