초보자를위한 Git과 SourceTree ~ 원숭이에서도 알 수있는 Git 입문을 시도했습니다 ~ 3
3728 단어 초보자SourceTree입문Git
원격 리포지토리 복제
그러면 다른 사용자가 되려고 해서 방금 만든 원격 리포지토리를 다른 디렉토리 "tutorial2"에 복제해 보겠습니다.
그래서 갑자기 원숭이 Git에 쓰여있는 방법을 찾을 수 없습니다 w
여러가지 찾아보고, 아마 이것이다!

그러면, 그런 화면이 나왔기 때문에, 또 원숭이 Git을 참고로 작업을 진행합니다.

그러면 안전하게 복제된 리포지토리가 북마크 목록에 추가되었습니다.

일단 tutorial2의 내용을 살펴보면 제대로 복제되어 있음을 알 수 있습니다.

복제된 리포지토리에서 푸시
tutorial2에서 작업
복제된 리포지토리(tutorial2)에 있는 sample.txt의 내용을 다시 작성합니다.

여기에서는 텍스트 에디터로 2행째를 추기해 보았습니다.

그러면 제대로 SourceTree에도 반영하고 있습니다.
그래서 커밋합니다.

그러면 로컬 리포지토리의 커밋이 하나 앞으로 진행되었습니다.
이 근처는 원숭이 Git의 해설과 같습니다.
그래서 계속해서 푸시도 해보겠습니다.

「master」와 「origin/master」와 「origin/HEAD」가 같은 위치까지 진행된 것을 알 수 있습니다.

Backlog 측에도 제대로 푸시한 이력이 반영되어 있습니다.
원격에서 끌어 오기
다음으로 tutorial2에 푸시한 내용을 tutorial에 넣어 봅시다.
tutorial에서 작업

끌어오려면 풀 버튼을 누릅니다. 라고・・・당연했습니다.

여기 아무것도 변경하지 않고 "OK"를 누르십시오.

무사히 끌어올 수 있었습니다.

「master」와 「origin/master」가 같은 위치로 진행된 것을 알 수 있습니다.
만약을 위해, 샘플의 내용을 확인하면・・・

제대로 변경점을 받아들이고 있었습니다.
죄송합니다.
Reference
이 문제에 관하여(초보자를위한 Git과 SourceTree ~ 원숭이에서도 알 수있는 Git 입문을 시도했습니다 ~ 3), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/Simayichutatsu/items/7a3cf7bf5e9a3a48c4af텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)