Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git 사용 방법
  6. Mac에서 Git을 사용하는 방법
  7. 원격 저장소로 푸시
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

원격 저장소로 푸시

이 튜토리얼의 시작 부분에서 만든 로컬 저장소로 푸시합시다.

Sourcetree를 열고 "tutorial" 저장소를 두 번 클릭합니다.

Select tutorial repository

도구 모음 오른쪽에 있는 "Settings" 버튼을 클릭합니다.

Click the setting button at the right side in the tool bar on the repository operation screen

"Add"를 클릭합니다.

Click Add button

다음을 입력합니다.

  • 원격 이름: origin
  • URL / 경로: Backlog에서 이전에 생성한 원격 저장소의 URL
The URL of the remote repository you previously created in Backlog

"OK"를 클릭합니다.

Enter the URL of the remote repository and click OK button

이제 원격 저장소 "origin"이 "remotes" 목록에 표시되고 변경 사항을 Backlog에 푸시할 수 있습니다.

origin was added

콘솔에 있는 경우 푸시/풀링할 때 원격 이름을 생략하면 기본적으로 "origin" 원격 저장소가 사용됩니다. 이는 일반적으로 "origin"을 원격 이름으로 사용하기 때문입니다.

이제 위의 도구 모음에서 "Push" 아이콘을 클릭합니다.

Click the push button at the tool bar on the tutorial repository operation screen

"main" 확인란을 선택하고 "OK"를 클릭합니다.

Click the OK button after check the check box of main

푸시를 성공적으로 완료하면 원격 커밋을 나타내는 "origin/main"이 커밋의 "description" 열에 표시됩니다.

The origin/main shown by the remote repository has been added

Backlog에서 Git 페이지를 열면 "Recent Updates" 아래에 나열된 원격 저장소에 대한 푸시에 해당하는 새 업데이트를 찾을 수 있습니다.

The push item is added to the recent updates.

푸시된 파일은 원격 저장소의 파일 목록에도 나타납니다.

The file from the pushed repository is added.

다음으로 이 원격 저장소를 복제합니다.

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life