Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

로컬에 레포지토리 내역 최신화 방법. #5

Open
HeegeePark opened this issue Oct 30, 2020 · 0 comments
Open

로컬에 레포지토리 내역 최신화 방법. #5

HeegeePark opened this issue Oct 30, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@HeegeePark
Copy link
Collaborator

원본 저장소 커밋 내역을 로컬에 반영시키는 법

1. 원격저장소 주소 저장

  • upstream이라는 이름으로 remote 주소 저장

git remote add upstream <<원본 저장소 주소>>

2. upstream 내역을 스테이징 영역에 fetch

git fetch upstream

3. 로컬에 원하는 브런치 커밋 내역 merge

  • upstream으로 저장된 레포지토리의 dev 브랜치에 반영된 커밋 내역을 내 로컬 개발물에 병합한다.

git merge upstream/dev

@HeegeePark HeegeePark added rule documentation Improvements or additions to documentation and removed rule labels Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant