git 删除错误提交

来源:互联网 发布:iphone8 允许网络连接 编辑:程序博客网 时间:2024/06/02 06:44

    git reset --hard <commit_id>

    git push origin HEAD --force


clone指定分支:

git clone -b <branch> <remote_repo>

0 0
原创粉丝点击