'git init'를 사용할 때마다. 일부 오래된 저장소가 원본으로 나타납니다.
git remote -v
origin https://github.com/a.git (fetch)
origin https://github.com/a.git (push)
테마를 제거 할 수 없습니다
git remote remove origin
fatal: Remote-Repository not found: 'origin'
새 리모컨을 추가 할 수 있습니다.
origin https://github.com/a.git (fetch)
origin https://github.com/a.git (push)
bucket https://[email protected]/b.git (fetch)
bucket https://[email protected]/b.git (push)
또는
origin https://github.com/a.git (fetch)
origin https://github.com/a.git (push)
origin https://[email protected]/b.git (fetch)
origin https://[email protected]/b.git (push)
원하는 경우 'b'를 제거하지만 (두 경우 모두) 'a'를 제거 할 수 없습니다.
나는 오래된 글로벌 자식 파일을 제거하려고 시도하고 set-url을 시도하고 로컬 저장소를 제거했습니다 ... 아무도 작동하지 않았습니다.
origin
전역 git 구성에 리모컨이 있다고 생각합니다 . 확인하려면 :
git config --global --get-regexp ^remote.origin.
명령이 최소한 remote.origin.url
전역 구성에서 원격을 제거하는 경우 :
git config --global --remove-section remote.origin
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다