[GitHub] Keeping Forked Repository up to date

JourniYoon·2022년 4월 11일
0

github

목록 보기
3/3

git remote -v
git remote add {repo name} {repo address}

check remote repository

git remote -v

add remote repository and check

git fetch upstream

fetch upstream

git checkout main

change branch

git merge upstream/main

merge success

git push origin main

push to my repository

git checkout {branch name}

change branch

git pull origin main

complete branch up to date

0개의 댓글

관련 채용 정보