Git Delete Branch
Git Delete Branch
[GITHUB] Git Branch(๋ธ๋์น) ์ญ์ ํ๊ธฐ (Local / Remote)
git] git์์ ์๊ฒฉ์ ์ฅ์์ ์๋ ํด๋ ์ญ์ ํ๊ธฐ
[GITHUB] Git Branch(๋ธ๋์น) ์ญ์ ํ๊ธฐ (Local / Remote)
์ด ๋ฐฉ๋ฒ์ ๋ก์ปฌ์์ ์๋ก์ด ๋ธ๋์น๋ฅผ ๋ง๋๋ ๋ฐฉ๋ฒ์ ๋๋ค.
์ด๊ฑด ๊ธ๋ฐฉ ์ต์ํด์ง๋๊ตฐ์ ๋ค๋ง! ๋ก์ปฌ์์ ๋ธ๋์น ์์ฑโข ์ดํด๋ฆฝ์ค๋ก ํ๋ก์ ํธ ๋ฑ์ ์ฌ๋ฆฌ๊ธฐ๋ ํฉ๋๋ค.
--merged is used to find all branches which can be safely deleted, since those branches are fully contained by HEAD.
.
the branches whose tip commits are reachable from the named commit will be listed.
ํฐ๋ฏธ๋ ์์์ ๊น ๋ธ๋์น๋ฅผ ์ญ์ ํ๋ ๋ฐฉ๋ฒ์ด์์.
git remote update ์๊ฒฉ ์ ์ฅ์ branch ํ์ธ ์๊ฒฉ ์ ์ฅ์์ branch ๋ฆฌ์คํธ๋ฅผ ํ์ธํฉ๋๋ค.
.
๋ธ๋์น ์ญ์ git branch -D ๋ธ๋์น ๋ก์ปฌ ๋ธ๋์น๋ฅผ ์ญ์ ํ๋ ค๋ฉด ์๋ ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ๋ค.
git c88f4de.
git - [deleted] develop ๋ณดํต push๋ ๋ณ๊ฒฝ๋ ๋ด์ฉ์ ๋ณด๋ผ ๋ ์ฌ์ฉํ๋๋ฐ push ๋ช ๋ น์ด๋ฅผ ์ด์ฉํด์ ์๊ฒฉ branch๋ฅผ ์ญ์ ํ๋ ๋ญ๊ฐ ์ข ์ด์ํ ๋๋์ด ๋ญ๋๋ค.
To view any remote branches, you use this command: git branch -a The -a flag an alias for --all shows all branches โ both local and remote.