Git更改远程仓库名字


例如你在branchOld 想改名branchNew

  1. 改本地名字在branchOld上 git branch -m branchNew 不在branchOld上 git branch -m branchOld branchNew
  2. 删除branchB并push新branch git push origin :branchOld branchNew
  3. 重置upstream git push origin -u :branchNew


Previous: Swift 3 @escaping
Next: Swift合成React Native Pod install abort

Comments

comments powered by Disqus

© Copyright 2017 William Hu