Version control tool Git tutorial: Git version remote rollback

1. Roll back to the specified version

git reset --hard 139dcfaa558e3276b30b6b2e5cbbb9c00bbdca96

2. Mandatory submission to the remote warehouse

git push -f -u origin master

insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/qq_29229567/article/details/128664451