git 에서 분기 삭제
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
힘내 삭제 브랜치로 시작
git branch -d $(git branch | grep yourSearchPattern)
git 에서 로컬 마스터 브랜치를 삭제하는 방법
git delete
힘내 마스터 브랜치를 삭제하고 다시 작성하십시오
git checkout better_branch
git merge --strategy=ours master # keep the content of this branch, but record a merge
git checkout master
git merge better_branch # fast-forward master up to the merge