๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
tip๐Ÿ’ก

๊นƒํ—ˆ๋ธŒ ์ด๋ฏธ ์›๊ฒฉ ์ €์žฅ์†Œ์— ์˜ฌ๋ฆฐ ๋ธŒ๋žœ์น˜๋ช… ์ˆ˜์ •

by suyeoneee 2025. 1. 15.

๐Ÿ’ฆ ์ƒํ™ฉ

๊ณผ์ œ์˜ ๊ฐ ๋ ˆ๋ฒจ์—๋Š” ์ž‘์€ํ•ญ๋ชฉ 1,2,3 ... ๋“ฑ์ด ์žˆ๋‹ค. ๊ทธ๋Ÿฐ๋ฐ ์ด๊ฑธ ๊นœ๋นกํ•˜๊ณ  ๋ ˆ๋ฒจ1์„ ํ’€๊ณ ์žˆ์„ ๋•Œ ์ž‘์€ ํ•ญ๋ชฉ๋“ค์„  Lv1, Lv2, Lv3 ...  ์ด๋Ÿฐ์‹์œผ๋กœ ๋ธŒ๋žœ์น˜๋ฅผ ๋งŒ๋“ค์–ด ์›๊ฒฉ์ €์žฅ์†Œ์— push๊นŒ์ง€ ํ•œ ์ƒํ™ฉ

๐Ÿ‘‰๐Ÿป  ์ปค๋ฐ‹์€ ์œ ์ง€ํ•œ ์ฑ„ ๋กœ์ปฌ ์ €์žฅ์†Œ, ์›๊ฒฉ ์ €์žฅ์†Œ ์ด๋ฆ„์„ ๋ฐ”๊พธ๊ณ  ์‹ถ๋‹ค!

 


1. ๋กœ์ปฌ ์ €์žฅ์†Œ์—์„œ ๋ธŒ๋žœ์น˜๋ช…์„ ๋ฐ”๊พผ๋‹ค

git branch -m ๊ธฐ์กด๋ธŒ๋žœ์น˜๋ช… ์ƒˆ๋กœ์šด๋ธŒ๋žœ์น˜๋ช…

git branch -m feature/lv1 feature/lv1/1
git branch -m feature/lv2 feature/lv1/2
git branch -m feature/lv3 feature/lv1/3
git branch -m feature/lv4 feature/lv1/4

 

git branch ๊ฒฐ๊ณผ

 

๋กœ์ปฌ ์ €์žฅ์†Œ์—๋Š” ๊ธฐ์กด ๋ธŒ๋žœ์น˜๋ช…์ด ์‚ฌ๋ผ์ง€๊ณ  ์ƒˆ๋กœ์šด ๋ธŒ๋žœ์น˜๋กœ ๋ฐ”๋€Œ์—ˆ๋‹ค.

์ด๊ฒƒ์„ ์›๊ฒฉ ์ €์žฅ์†Œ์— ์—…๋ฐ์ดํŠธ ํ•ด์•ผํ•œ๋‹ค.

 

2. ์›๊ฒฉ ์ €์žฅ์†Œ ๊ธฐ์กด ๋ธŒ๋žœ์น˜ ์‚ญ์ œ

git push origin :๊ธฐ์กด๋ธŒ๋žœ์น˜๋ช…

git push origin :feature/lv1

feature/lv1์ด ์‚ญ์ œ๋จ

 

3. ์›๊ฒฉ ์ €์žฅ์†Œ ๋ธŒ๋žœ์น˜ ์—…๋ฐ์ดํŠธ ๋ฐ˜์˜

git push --set-upstream origin ์ƒˆ๋กœ์šด๋ธŒ๋žœ์น˜๋ช…

git push --set-upstream origin feature/lv1/1

 

์ž˜ ๋ฐ˜์˜๋˜์–ด ์ปค๋ฐ‹๋„ ์œ ์ง€๋˜์—ˆ๋‹ค :)

 

 

๋‚˜๋จธ์ง€ ๋ธŒ๋žœ์น˜๋„ ๋”ฐ๋ผ์„œ ์ ์šฉ์‹œํ‚ค๋ฉด ๋~

 

์ตœ๊ทผ๋Œ“๊ธ€

์ตœ๊ทผ๊ธ€

skin by ยฉ 2024 ttuttak