# ์๋ณธ ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์๊ฒฉ์ upstream์ผ๋ก ์ถ๊ฐ
git remote add upstream "์๋ณธ ๋ฆฌํฌ์งํ ๋ฆฌ"
# upstream ๋ฆฌํฌ์งํ ๋ฆฌ์์ ์
๋ฐ์ดํธ๋ฅผ ๋ฐ์์ด
git fetch upstream
# upstream์ master ๋ธ๋์น๋ฅผ ํ์ฌ ๋ธ๋์น(Forkํ ๋ฆฌํฌ์งํ ๋ฆฌ)๋ก ํฉ์ณ์ค
git merge upstream/master
# ์ด๊ฒ์ ๊นํ๋ธ์ ๋๊ธฐํ
git push origin master
[Git] Fork ํ repository ์ต์ ์ผ๋ก ๋๊ธฐํํ๊ธฐ
Fork ํ repository ๋ฅผ ์ต์ ์ผ๋ก ๋๊ธฐํ์์ผ์ผ ํ ๋๊ฐ ์๋ค. Open Source ์ ๋จ๋ฐ์ฑ์ด ์๋ ์ง์์ ์ผ๋ก contribution ํ๋ ค ํ ๋์์ ํด์ ์ฌ์ฉํ๊ธฐ ์ํด fork ํด์จ ์๋ณธ repository ์์ ์ ๋ฐ์ดํธ๋ ๋ถ๋ถ์ ๋ฐ์
json.postype.com
'๐ป > ๊ฐ๋ฐ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Git] Git-Flow, ์์คํธ๋ฆฌ ์ฐ๋ ๋ฐ ์ฌ์ฉ (0) | 2021.09.07 |
---|---|
[์ฐธ๊ณ ] Polyglot? (0) | 2021.07.06 |
[Git] ๋ฆฌํฌ๋ช ์ถ์ฒ ๊ท์น (0) | 2021.04.13 |
[Git] ์ปค๋ฐ ๋ฉ์ธ์ง ๋ณ๊ฒฝ, ์์ฑ ์๋ น (0) | 2021.02.04 |
[Git] Git์ ๊ฐ๋ ๊ณผ ์ฌ์ฉ๋ฐฉ๋ฒ (0) | 2021.01.25 |