git branch 获取分支
git checkout master
git tag 查看标签
git log 查看所有提交过的版本信息
git reset --hard 41a428c9a77e1505a73379d26e06199caaedc3aa
需要进入gitlab项目设置,protected branches里取消master的protected
git push -f origin master
git branch 获取分支
git checkout master
git tag 查看标签
git log 查看所有提交过的版本信息
git reset --hard 41a428c9a77e1505a73379d26e06199caaedc3aa
需要进入gitlab项目设置,protected branches里取消master的protected
git push -f origin master