Tag相关 git tag // 查看远程所有的taggit tag d [tagname] //删除远程中的名为tagname的tag Branch相关 git branch -a //查看本地和远程的所有分支git branch -r //查看远程的所有分支git branch //查看本地的所有分支git branch -d [branchname] //删除名为branchname的分支git checkout [branchname] //切换到某个分支