๐ŸŽˆ Git branch ์˜ ๋ชจ๋“ ๊ฒƒ

jaypyonยท2021๋…„ 3์›” 29์ผ
0

Git

๋ชฉ๋ก ๋ณด๊ธฐ
1/2

ํ˜„์žฌ ์œ„์น˜์˜ Branch ํ™•์ธํ•˜๊ธฐ ๐Ÿ™„

๋ฐฉ๋ฒ•1 :$ git branch
๋ฐฉ๋ฒ•2 :$ git status

Remote์˜ Branch ํ™•์ธํ•˜๊ธฐ ๐Ÿค—

$ git branch -r

Branch ์ƒ์„ฑ ๐Ÿ˜€

๋ฐฉ๋ฒ•1 : git checkout -b [๋ธŒ๋žœ์น˜์ด๋ฆ„]
๋ฐฉ๋ฒ•2 : git branch [๋ธŒ๋žœ์น˜์ด๋ฆ„]

Branch ์‚ญ์ œ ๐Ÿ˜ฅ

git branch -d [๋ธŒ๋žœ์น˜์ด๋ฆ„]

Local Branch๋ฅผ Remote์— Pushํ•˜๊ธฐ๐Ÿ˜ถ

git push -u origin [๋ธŒ๋žœ์น˜์ด๋ฆ„]

profile
DGU CSE

0๊ฐœ์˜ ๋Œ“๊ธ€