Skip to content
daadaadaah edited this page Jul 29, 2020 · 13 revisions

Github

upstream 원격 저장소와 origin 원격 저장소간의 Sync 맞추기

$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.

$ git fetch upstream master
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), 779 bytes | 77.00 KiB/s, done.
From https://github.com/CodeSoom/project-react-1-daadaadaah
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> upstream/master

$ git rebase upstream/master
Successfully rebased and updated refs/heads/master.

Clone this wiki locally