刪除本地分支: git branch -d 分支名
如果無法刪除請使用強制刪除git branch -D 分支名
,成功后顯示Deleted branch re-dev-fixbug-zjl-31938 (was 4fe13cff).
刪除遠程分支: git push origin --delete 分支名
刪除本地分支: git branch -d 分支名
如果無法刪除請使用強制刪除git branch -D 分支名
,成功后顯示Deleted branch re-dev-fixbug-zjl-31938 (was 4fe13cff).
刪除遠程分支: git push origin --delete 分支名
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。