有人可以解释为什么git remote origin无法从livepost.git更改为Europeanexplorer.git吗?我尝试按照说明进行操作,但是文档指出这error: Could not remove config section 'remote.origin'意味着该文件不存在,显然这里不是这种情况。
$ git remote -v
origin https://github.com/harrisongill/livepost.git (fetch)
origin https://github.com/harrisongill/livepost.git (push)
$ git remote rm origin
error: Could not remove config section 'remote.origin'
$ git remote set-url origin https://github.com/harrisongill/europeanexplorer.git
$ git remote -v
origin https://github.com/harrisongill/livepost.git (fetch)
origin https://github.com/harrisongill/livepost.git (push)
origin https://github.com/harrisongill/europeanexplorer.git (push)
$ git remote rm origin
$ git remote -v
origin https://github.com/harrisongill/livepost.git (fetch)
origin https://github.com/harrisongill/livepost.git (push)
Run Code Online (Sandbox Code Playgroud)
编辑:添加git配置
$git config --list
Harrisons-MacBook-Pro:European Explorer harrison$ git config --list
user.name=Harrison Gill …Run Code Online (Sandbox Code Playgroud) 我有一些错误,当您查看此页面时,在您输入验证码的框中,它显示"缺少翻译".我环顾四周,注意到它可能与i18n或闪光有关,但我不确定,到目前为止我发现的两件事都没有效果.谁能够引导我朝着正确的方向前进?