我正在使用ruby on rails应用程序,我正在尝试同步一个fork.值得一提的是,我也在Mac上.我做了以下行动:
$ git remote -v
Run Code Online (Sandbox Code Playgroud)
获取我的本地存储库的视图.我试图去的时候搞砸了upstream:
$ git remote add upstream https://github.com/foo/repo.git
Run Code Online (Sandbox Code Playgroud)
什么时候我应该大写Foo:
$ git remote add upstream https://github.com/Foo/repos.git
Run Code Online (Sandbox Code Playgroud)
问题是如何删除,upstream因为每次我尝试更改它,它会回来创建一个fatal错误?