git 操做精選

刪除遠程分支
git

git push origin :branch-namespa

刪除本地分支(先要切換到其餘的分支it

git branch -D brachnameco

本地建立分支 並切換到新的分支遠程

git checkout -b  newBranchpush

本地建立分支 但不切換到background

git branch  newBranchnew


提交到遠程分支 注意 沒有冒號分支

git push origin   branch-name


合併分支

git rebase Bbranch

相關文章
相關標籤/搜索