git报错:'fatal:remote origin already exists'

发表于 2022-11-04 本文字数 140 字 阅读时长 1 分钟
  • 折 花 酒 肆
首页 操作备忘

只要两步,解决 fatal:remote origin already exists

  1. 先删除
    $ git remote rm origin
  2. 重新添加
    git remote add origin git@github.com:username/repostery.git //关联本地仓库,远程库的名字为origin
bug git
更新于 2026-10-29
  • 本文作者: 折花载酒z @做个俗人 贪财好色
  • 本文链接: https://winston950213.github.io/2022/11/04/git报错:-fatal-remote-origin-already-exists/
  • 版权声明: 本站所有文章除特别声明外,均采用 (CC)BY-NC-SA 许可协议。转载请注明出处!
上一篇 操作备忘

win10安装mitmproxy报错'Failed building wheel for brotlipy'

下一篇 操作备忘

正则表达式反选

  • python为视频添加水印
  • 网址备忘
  • E: Unable to locate package neofetch
  • Kali Linux Failed to launch preferred application for category 'TerminalEmulator' and all files missing
  • Ubuntu换源
  • Command 'python setup.py egg_info' failed with error code 1 in /tmp/pip-build-thtq7d55/frida/
  • linux ubuntu pip3 list 出现警告
  • Ubuntu安装curl报错:软件包有未满足的依赖关系: curl : 依赖: libcurl4 (= 7.58.0-2ubuntu3.10)
  • win10安装mitmproxy,成功之后访问mitm.it出现不了下载证书页面
  • win10安装mitmproxy报错'Failed building wheel for brotlipy'
  • git报错:'fatal:remote origin already exists'
  • 正则表达式反选
折花载酒z

折花载酒z

终是庄周梦了蝶 亦是情缘亦是劫
20 文章
4 分类
22 标签
  • 首页
  • 文章
    • 归档
    • 分类
    • 标签

随机文章

  • 操作备忘
    E: Unable to locate package neofetch
  • 逆向学习
    frida rpc 学习
  • 操作备忘
    win10安装mitmproxy报错'Failed building wheel for brotlipy'
  • 操作备忘
    Command 'python setup.py egg_info' failed with error code 1 in /tmp/pip-build-thtq7d55/frida/
  • 逆向学习
    移动TV
  • 操作备忘
    Ubuntu安装curl报错:软件包有未满足的依赖关系: curl : 依赖: libcurl4 (= 7.58.0-2ubuntu3.10)
  • 操作备忘
    win10安装mitmproxy,成功之后访问mitm.it出现不了下载证书页面
  • 逆向学习
    约单
  • 操作备忘
    Ubuntu换源
  • 编程语言
    python多线程学习
© 2021 – 2026 折花载酒z @ 折 花 酒 肆
30k 字 | 28 分钟
基于 Hexo & Theme.Shoka