git-*: add and update Korean translation (#12937)

This commit is contained in:
코드싸이
2024-06-12 14:28:50 +09:00
committed by GitHub
parent e1c7803f67
commit 16cd6cc0c8
23 changed files with 635 additions and 27 deletions

View File

@@ -1,36 +1,36 @@
# git clone
> 이미 존재하는 레포지토리를 복제.
> 기존 저장소를 복제합니다.
> 더 많은 정보: <https://git-scm.com/docs/git-clone>.
- 이미 존재하는 레포지토리를 특정 디렉토리 복제:
- 기존 저장소를 새 디렉토리 복제 (기본 디렉토리는 저장소 이름):
`git clone {{원격_레포지토리_경로}} {{경로/대상/디렉터리}}`
`git clone {{원격_저장소_위치}} {{경로/대상/폴더}}`
- 이미 존재하는 레포지토리를 그 서브모듈 복제:
- 기존 저장소 및 그 하위 모듈 복제:
`git clone --recursive {{원격_레포지토리_경로}}`
`git clone --recursive {{원격_저장소_위치}}`
- 기존 저장소의 `.git` 디렉토리 복제:
- 기존 저장소의 `.git` 디렉토리 복제:
`git clone --no-checkout {{원격_레포지토리_경로}}`
`git clone --no-checkout {{원격_저장소_위치}}`
- 로컬 레포지토리를 복제:
- 로컬 저장소 복제:
`git clone --local {{경로/대상/로컬/레포지토리}}`
`git clone --local {{경로/대상/로컬/저장소}}`
- 출력 없이 복제:
- 조용히 복제:
`git clone --quiet {{원격_레포지토리_경로}}`
`git clone --quiet {{원격_저장소_위치}}`
- 이미 존재하는 레포지토리를 최근 커밋 10개만 복제 (시간 절약에 좋음):
- 기존 저장소를 기본 브랜치에서 최근 커밋 10개만 복제 (시간 절약에 좋음):
`git clone --depth {{10}} {{원격_레포지토리_경로}}`
`git clone --depth {{10}} {{원격_저장소_위치}}`
- 이미 존재하는 레포지토리의 특정 브랜치만 복제:
- 기존 저장소의 특정 브랜치만 복제:
`git clone --branch {{브랜치_이름}} --single-branch {{원격_레포지토리_경로}}`
`git clone --branch {{이름}} --single-branch {{원격_저장소_위치}}`
- 특정 SSH 명령어를 사용하여 이미 존재하는 레포지토리 복제:
- 특정 SSH 명령 사용하여 기존 저장소 복제:
`git clone --config core.sshCommand="{{ssh -i 경로/대상/개인_ssh_key}}" {{원격_레포지토리_경로}}`
`git clone --config core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{원격_저장소_위치}}`