ํน์ branch clone
git clone -b {branch_name} --single-branch {์ ์ฅ์ URL}
ex) git clone -b javajigi --single-branch https://github.com/javajigi/java-racingcar
single branch clone ์ดํ ํน์ branch ์ถ๊ฐ clone
git remote set-branches --add origin {branch_name}
git fetch origin dev_front
# ๋ธ๋์น ๋ฆฌ์คํธ ํ์ธ
git branch -a
git checkout {branch_name}
'Version Control > Git' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Git] submodule init/clone/update (0) | 2024.06.19 |
---|---|
[Git] ๋ก์ปฌ ๋ธ๋์น โ ์๊ฒฉ ๋ธ๋์น ๋๊ธฐํ (0) | 2022.06.17 |