GIT

如何删除本地分支和远程分支

// 删除本地分支
git branch -d localBranchName

// 删除远程分支
git push origin --delete remoteBranchName

使用以下命令同步分支列表:

git fetch -p