If I have already push my code to a remote branch, how to reset it into the previous version?
Firstly, Git Reset your local branch. I use IDEA’s Git Reset function, Hard mode.
Then, use git bash tool to putin “git push --force”. Check the local branch name before entering the command statements.
DONE