-
Notifications
You must be signed in to change notification settings - Fork 1
Description
- master branch: ์ต์ข ๋ฐฐํฌ ๋ธ๋์น
- dev branch: ํตํฉ ๋ธ๋์น (โญ๏ธ์ต์ข merge๋ ํญ์ ์ฌ๊ธฐโญ๏ธ)
โ ํ์ฌ ๋ธ๋์น => ๊ฐ์ธ ๋ธ๋์น
์์
์์ ์ ๋จผ์ ๊ฐ์ธ working directory์์
git pull origin dev
์ผ๋ก dev์ ์๋ ์์
์ํฉ ๋ค ๋ฐ์์ค๊ธฐ
~ ์์
์งํ ~
์์
์๋ฃ ์ ํ์์ฒ๋ผ add, commit, push ํด์ฃผ๊ณ ์๊ฒฉ ์ ์ฅ์์ ์ ์ฅ
์ด์ ์ค์ํ ๐๋ณํฉ๐
โ ์ง๊ธ๋ถํฐ ๋ธ๋์น ๋ณ๊ฒฝ => dev
git checkout dev (dev ๋ธ๋์น ์ง์ )
git pull origin dev (๋ค๋ฅธ ์ฌ์ฉ์๊ฐ push ํ ๊ฑฐ ๋จผ์ ๋ฐ์์ฃผ๊ธฐ)
git merge ๊ฐ์ธ ๋ธ๋์น๋ช
์ถฉ๋ ์๋ ๊ฒฝ์ฐ) auto-merging, (์๋ง) push๋ง ํด์ฃผ๋ฉด ๋
์ถฉ๋์ด ์ผ์ด๋ ๊ฒฝ์ฐ) ์์ค์ฝ๋ ํ์ธํ๋ฉด์ accept ํด์ฃผ๊ณ ์ด ๊ฒฝ์ฐ staging area์ ์ฌ๋ฆฌ๋ ๊ฒ๋ถํฐ ๋ค์ ํด์ผ ํจ. (add, commit, push ๋ค)
์ด๋ฅผ ๋ฐ๋ณต~~ *์กฐ๊ธ ์์ ํจ ๋ค๋ค ํ์ดํ ๐