git 刪除本地提交,且強制更新到遠程 2020-08-29

git 刪除本地提交,且強制更新到遠程 pycharm使用: 在底部的Version control中使用interactively rebase from here 再你選擇的刪除的提交前面的Action選擇 drop, 其實現原理git rebase -i 你刪除的提交 在終端裏面使用命令 git push --force origin Head:你要強制更新提交的分支
相關文章
相關標籤/搜索