logo
  • 教程列表
  • SO官方文档
  • 更改 git 存储库名称
    • 更改本地设置
  1. StackOverflow 文档
  2. Git 教程
  3. 更改 git 存储库名称
  4. 更改本地设置

更改本地设置

Created: November-22, 2018

去终端,

cd projectFolder
git remote -v (it will show previous git url)
git remote set-url origin https://username@bitbucket.org/username/newName.git
git remote -v (double check, it will show new git url)
git push (do whatever you want.)
  • 更改 git 存储库名称

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明