github
포크 된 저장소 업데이트
수색…
비고
당신의 포크에 대한 원격을 구성한 다음 포크를 동기화하십시오 (마스터 브랜치)
- 내 포크에 리모컨 구성
$ cd my_local_repo
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
# Specify a new remote upstream repository that will be synced with the fork
$ git remote -v
# Verify the new upstream repository specified for my fork
- 내 포크를 로컬로 동기화
$ cd my_local_repo
$ git fetch upstream
# Fetch the branches and their respective commits from the upstream repository
# Commits to master will be stored in a local branch, upstream/master
$ git checkout master
$ git merge upstream/master
# Merge the changes from upstream/master into your local master branch
# brings your fork's master branch into sync with the upstream repo
- Github에서 내 포크 동기화
$ git push origin master
Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow