git push origin +master 和 git push --force origin master
2012-04-29 16:19:10 +0800 由 tonytonyjan
在 Git 節點 中發起
最後由 匿名 於回應
, 234次閱讀
git push origin +master
和 git push --force origin master
前者說明:to allow non-fast-forward updates.
後者說明:Usually, the command refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it. This flag disables the check.
他們都可以用來砍掉一個誤傳到 remote 的 commit。但他們有什麼不一樣?
暫無回應。