Open viiyu opened 5 years ago
# which would delete the local branch, only if you # have already pushed and merged it with your remote branches git branch -d branch_name git branch -D branch_name // --delete --force
假设我在github上有个A.git,在gitlab上维护了一个A-mirror.git,如何从A.git同步数据,方法如下
反过来也是可以的,只是各自对应的origin不一样,可以用git remote -v查看:
删除本地分支