No rollback on github for windows?

I would like to use GitHub for Windows without sharing a project (well, I don’t want to pay to get a private project option, and I don’t want to share it as open source), so basically use it as a GUI for git. I did a test project to play with it. I made some changes and made them. Now, how do I roll back? there is no such option. Maybe I'm blind?

+4
source share
4 answers
  • Press the cog wheel, then click “Undo last commit”. Please note that this will only cancel the last commit if you committed more than once.

  • "". . , " ". , , , , .

  • 1 2 ,

+3

"". Git .

+1

, " ", , . , , , ! , .

0

I am just learning github. The rollback button has been removed in the new version of Github for Windows. We have to go to GitShell and use "git reset ..."

git reset --hard <tag/branch/commit id>

Please check this link. How do you reset the Git repository for a specific commit for more details.

0
source

Source: https://habr.com/ru/post/1544786/


All Articles