Search

Git Clone

Git Clone

Git Clone์€ ์›๊ฒฉ ์ €์žฅ์†Œ(Repository)์˜ ์†Œ์Šค ์ฝ”๋“œ๋ฅผ ๋กœ์ปฌ ์ €์žฅ์†Œ๋กœ ๋ณต์‚ฌํ•˜๋Š” ๋ช…๋ น์–ด์ž…๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ์˜ ์ „์ฒด ํžˆ์Šคํ† ๋ฆฌ์™€ ํ•จ๊ป˜ ๋ชจ๋“  ํŒŒ์ผ์„ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

git Clone

git clone <repository-url>
Bash
๋ณต์‚ฌ
1.
Repository
2.
Code
3.
URL ๋ณต์‚ฌ

์˜ˆ์‹œ:

git clone https://github.com/username/repository.git
Bash
๋ณต์‚ฌ

ํŠน์ • ๋ธŒ๋žœ์น˜๋ฅผ ํด๋ก ํ•˜๊ณ  ์‹ถ์„ ๋•Œ:

git clone -b <branch-name> https://github.com/username/repository.git
Bash
๋ณต์‚ฌ