sourceTree를 사용하여 git clone 한 리포지토리를 다른 리포지토리로 푸시
2041 단어 SourceTreeGit
problem
현재 프로젝트의 소스를 이용하여 다른 프로젝트를 시작할 때$git clone
그러면 push처가 clone원이 되어 버린다.
회피하는 방법으로 시간이 걸렸기 때문에 정리해 둡니다.
SourceTree를 사용하면 매우 쉬웠습니다 
example
clone 전https://[email protected]/example/example_moto.git
저장 대상https://[email protected]/example/example_saki.git
하고
solution
1. 무엇이든 git clone
$ git clone https://[email protected]/example/example_moto.git
2. 저장처 확인
$ git remote -v
origin https://[email protected]/example/example_moto.git (fetch)
origin https://[email protected]/example/example_moto.git (push)
push처가 clone원으로 되어 있습니다(엄청 당연하지만..)
3.sourceTree로 만나갑니다
push하고 싶은 branch/푸시처/origin을 클릭!

4. 저장처 변경
다른 창이 나오고 푸시 대상 리포지토리를 사용자 지정으로 변경하면 뒤에 URL을 끌 수 있습니다.
내용은 clone 원본 저장소가 되어야 합니다.

↓
URL을 저장할 위치로 변경하고 확인을 클릭합니다.

↓
푸시하고 저장하고 싶은 리포지토리에 push되어 있어야합니다!
힘내는 무서워하지만 branch를 자르면 마지막 어떻게 든 정신으로 할 것입니다 
빨리 힘내와 친구가 되고 싶어
참고 자료
그리고 직장 선배에게 도움을 주었습니다. 최고 감사합니다.
Reference
이 문제에 관하여(sourceTree를 사용하여 git clone 한 리포지토리를 다른 리포지토리로 푸시), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/Sotq_17/items/2580da7f1e225cfbae0a
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
clone 전
https://[email protected]/example/example_moto.git
저장 대상
https://[email protected]/example/example_saki.git
하고
solution
1. 무엇이든 git clone
$ git clone https://[email protected]/example/example_moto.git
2. 저장처 확인
$ git remote -v
origin https://[email protected]/example/example_moto.git (fetch)
origin https://[email protected]/example/example_moto.git (push)
push처가 clone원으로 되어 있습니다(엄청 당연하지만..)
3.sourceTree로 만나갑니다
push하고 싶은 branch/푸시처/origin을 클릭!

4. 저장처 변경
다른 창이 나오고 푸시 대상 리포지토리를 사용자 지정으로 변경하면 뒤에 URL을 끌 수 있습니다.
내용은 clone 원본 저장소가 되어야 합니다.

↓
URL을 저장할 위치로 변경하고 확인을 클릭합니다.

↓
푸시하고 저장하고 싶은 리포지토리에 push되어 있어야합니다!
힘내는 무서워하지만 branch를 자르면 마지막 어떻게 든 정신으로 할 것입니다 
빨리 힘내와 친구가 되고 싶어
참고 자료
그리고 직장 선배에게 도움을 주었습니다. 최고 감사합니다.
Reference
이 문제에 관하여(sourceTree를 사용하여 git clone 한 리포지토리를 다른 리포지토리로 푸시), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/Sotq_17/items/2580da7f1e225cfbae0a
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
$ git clone https://[email protected]/example/example_moto.git
$ git remote -v
origin https://[email protected]/example/example_moto.git (fetch)
origin https://[email protected]/example/example_moto.git (push)
그리고 직장 선배에게 도움을 주었습니다. 최고 감사합니다.
Reference
이 문제에 관하여(sourceTree를 사용하여 git clone 한 리포지토리를 다른 리포지토리로 푸시), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/Sotq_17/items/2580da7f1e225cfbae0a텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)