我正在使用 Ruby on Rails 应用程序,并尝试同步分支。需要注意的是,我也在使用 Mac。我执行了以下操作:
$ git remote -v
为了查看我的本地仓库,我在尝试进入upstream
时出了一些问题:
$ git remote add upstream https://github.com/foo/repo.git
当我应该使用大写字母来表示 Foo 时:
$ git remote add upstream https://github.com/Foo/repos.git
问题是如何删除upstream
,因为每次我尝试更改它时,都会出现fatal
错误?