๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Git

[Git] branch ์‚ญ์ œํ•˜๋Š”๋ฒ•

by ์ฝ”๋”ฉํ•˜๋Š” ๋ถ•์–ด 2021. 11. 10.
๋ฐ˜์‘ํ˜•

๐Ÿ’Œ ์›๊ฒฉ ์ €์žฅ์†Œ(Remote Repository, ์ฆ‰ Github)์— ์˜ฌ๋ผ๊ฐ„ branch ์‚ญ์ œํ•˜๋Š” ๋ฒ•

$ git push origin :์‚ญ์ œํ• _branch_name

: ๊ฐ€ ํฌ์ธํŠธ!!



 

๐Ÿ’Œ ์›๊ฒฉ ์ €์žฅ์†Œ(Remote Repository, ์ฆ‰ Github)์— ์˜ฌ๋ฆฌ์ง€ ์•Š๊ณ  ๋กœ์ปฌ ์ €์žฅ์†Œ(local Storage, ์ฆ‰ ๋‚ด PC)์—์„œ๋งŒ ์ƒ์„ฑํ•œ branch ์‚ญ์ œํ•˜๋Š” ๋ฒ•

$ git branch -d ์‚ญ์ œํ• _branch_name

 

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€