git 원격 맨 페이지는 매우 간단합니다.
사용하다
Older (backwards-compatible) syntax:
$ git remote rm upstream
Newer syntax for newer git versions: (* see below)
$ git remote remove upstream
Then do:
$ git remote add upstream https://github.com/Foo/repos.git
또는 URL을 직접 업데이트하십시오.
$ git remote set-url upstream https://github.com/Foo/repos.git
또는 익숙한 경우 .git / config를 직접 업데이트하십시오. 변경해야 할 사항을 파악할 수 있습니다 (독자를위한 연습으로 남겨 둡니다).
...
[remote "upstream"]
fetch = +refs/heads/*:refs/remotes/upstream/*
url = https://github.com/foo/repos.git
...
===
* 'git remote rm'대 'git remote remove'관련-git 1.7.10.3 / 1.7.12 2 주변에서 변경됨 -참조
https://code.google.com/p/git-core/source/detail?spec=svne17dba8fe15028425acd6a4ebebf1b8e9377d3c6&r=e17dba8fe15028425acd6a4ebebf1b8e9377d3c6
Log message
remote: prefer subcommand name 'remove' to 'rm'
All remote subcommands are spelled out words except 'rm'. 'rm', being a
popular UNIX command name, may mislead users that there are also 'ls' or
'mv'. Use 'remove' to fit with the rest of subcommands.
'rm' is still supported and used in the test suite. It's just not
widely advertised.
git remote remove upstream
'error : Unknown subcommand : remove'생성