File tree Expand file tree Collapse file tree 7 files changed +35
-35
lines changed Expand file tree Collapse file tree 7 files changed +35
-35
lines changed Original file line number Diff line number Diff line change 13
13
14
14
- Klone nur das ` .git ` Verzeichnis für ein existierendes repository:
15
15
16
- ` git clone -- no-checkout {{url_zu_repository}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{url_zu_repository}} `
17
17
18
18
- Klone ein lokales Repository:
19
19
20
- ` git clone -- local {{pfad/zu/lokalem_repository}} `
20
+ ` git clone {{[-l|-- local]}} {{pfad/zu/lokalem_repository}} `
21
21
22
22
- Klone ohne Meldungen:
23
23
24
- ` git clone -- quiet {{url_zu_repository}} `
24
+ ` git clone {{[-q|-- quiet]}} {{url_zu_repository}} `
25
25
26
26
- Klone ein existierendes Repository und rufe nur die neuesten 10 Commits im Standard-Branch ab (spart Zeit):
27
27
28
28
` git clone --depth {{10}} {{url_zu_repository}} `
29
29
30
30
- Klone ein existierendes Repository, aber lade nur einen bestimmten Branch herunter:
31
31
32
- ` git clone -- branch {{name}} --single-branch {{url_zu_repository}} `
32
+ ` git clone {{[-b|-- branch]}} {{name}} --single-branch {{url_zu_repository}} `
33
33
34
34
- Klone ein existierendes Repository mit einem bestimmten SSH Befehl:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i pfad/zu/privat_ssh_schlüssel}}" {{url_zu_repository}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i pfad/zu/privat_ssh_schlüssel}}" {{url_zu_repository}} `
Original file line number Diff line number Diff line change 13
13
14
14
- Clona sólo el directorio ` .git ` de un repositorio existente:
15
15
16
- ` git clone -- no-checkout {{ubicación_repositorio_remoto}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{ubicación_repositorio_remoto}} `
17
17
18
18
- Clona un repositorio local:
19
19
20
- ` git clone -- local {{ruta/al/repositorio/local}} `
20
+ ` git clone {{[-l|-- local]}} {{ruta/al/repositorio/local}} `
21
21
22
22
- Clona en silencio:
23
23
24
- ` git clone -- quiet {{ubicación_repositorio_remoto}} `
24
+ ` git clone {{[-q|-- quiet]}} {{ubicación_repositorio_remoto}} `
25
25
26
26
- Clona un repositorio existente obteniendo sólo los 10 commits más recientes de la rama por defecto (útil para ahorrar tiempo):
27
27
28
28
` git clone --depth {{10}} {{ubicación_repositorio_remoto}} `
29
29
30
30
- Clona un repositorio existente buscando sólo una rama específica:
31
31
32
- ` git clone -- branch {{nombre}} --single-branch {{ubicación_repositorio_remoto}} `
32
+ ` git clone {{[-b|-- branch]}} {{nombre}} --single-branch {{ubicación_repositorio_remoto}} `
33
33
34
34
- Clona un repositorio existente usando un comando SSH específico:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i ruta/a/clave_privada_ssh}}" {{ubicación_repositorio_remoto}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i ruta/a/clave_privada_ssh}}" {{ubicación_repositorio_remoto}} `
Original file line number Diff line number Diff line change 13
13
14
14
- Gandakan hanya direktori ` .git ` pada repositori saat ini:
15
15
16
- ` git clone -- no-checkout {{lokasi_repositori_remote}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{lokasi_repositori_remote}} `
17
17
18
18
- Gandakan repositori lokal:
19
19
20
- ` git clone -- local {{jalan/menuju/repositori/lokal}} `
20
+ ` git clone {{[-l|-- local]}} {{jalan/menuju/repositori/lokal}} `
21
21
22
22
- Gandakan dengan senyap:
23
23
24
- ` git clone -- quiet {{lokasi_repositori_remote}} `
24
+ ` git clone {{[-q|-- quiet]}} {{lokasi_repositori_remote}} `
25
25
26
26
- Gandakan repositori yang sudah ada dengan hanya mengambil 10 komit paling baru pada branch bawaan (berguna untuk menghemat waktu):
27
27
28
28
` git clone --depth {{10}} {{lokasi_repositori_remote}} `
29
29
30
30
- Gandakan repositori yang sudah ada dengan hanya mengambil dari cabang tertentu:
31
31
32
- ` git clone -- branch {{name}} --single-branch {{lokasi_repositori_remote}} `
32
+ ` git clone {{[-b|-- branch]}} {{name}} --single-branch {{lokasi_repositori_remote}} `
33
33
34
34
- Gandakan repositori yang sudah ada menggunakan perintah SSH tertentu:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i jalan/menuju/kunci_ssh_privat}}" {{lokasi_repositori_remote}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i jalan/menuju/kunci_ssh_privat}}" {{lokasi_repositori_remote}} `
Original file line number Diff line number Diff line change 13
13
14
14
- 기존 저장소의 ` .git ` 디렉토리만 복제:
15
15
16
- ` git clone -- no-checkout {{원격_저장소_위치}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{원격_저장소_위치}} `
17
17
18
18
- 로컬 저장소 복제:
19
19
20
- ` git clone -- local {{경로/대상/로컬/저장소}} `
20
+ ` git clone {{[-l|-- local]}} {{경로/대상/로컬/저장소}} `
21
21
22
22
- 조용히 복제:
23
23
24
- ` git clone -- quiet {{원격_저장소_위치}} `
24
+ ` git clone {{[-q|-- quiet]}} {{원격_저장소_위치}} `
25
25
26
26
- 기존 저장소를 기본 브랜치에서 최근 커밋 10개만 복제 (시간 절약에 좋음):
27
27
28
28
` git clone --depth {{10}} {{원격_저장소_위치}} `
29
29
30
30
- 기존 저장소의 특정 브랜치만 복제:
31
31
32
- ` git clone -- branch {{이름}} --single-branch {{원격_저장소_위치}} `
32
+ ` git clone {{[-b|-- branch]}} {{이름}} --single-branch {{원격_저장소_위치}} `
33
33
34
34
- 특정 SSH 명령을 사용하여 기존 저장소 복제:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{원격_저장소_위치}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{원격_저장소_위치}} `
Original file line number Diff line number Diff line change 13
13
14
14
- Clona somente o diretório ` .git ` de um repositório existente:
15
15
16
- ` git clone -- no-checkout {{local_do_repositório_remoto}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{local_do_repositório_remoto}} `
17
17
18
18
- Clona um repositório local:
19
19
20
- ` git clone -- local {{caminho/para/repositório/local}} `
20
+ ` git clone {{[-l|-- local]}} {{caminho/para/repositório/local}} `
21
21
22
22
- Clona de forma silenciosa:
23
23
24
- ` git clone -- quiet {{local_do_repositório_remoto}} `
24
+ ` git clone {{[-q|-- quiet]}} {{local_do_repositório_remoto}} `
25
25
26
26
- Clona um repositório existente buscando somente os 10 commits mais recentes na branch padrão (útil para salvar tempo):
27
27
28
28
` git clone --depth {{10}} {{local_do_repositório_remoto}} `
29
29
30
30
- Clona um repositório existente buscando somente uma branch específica:
31
31
32
- ` git clone -- branch {{nome}} --single-branch {{local_do_repositório_remoto}} `
32
+ ` git clone {{[-b|-- branch]}} {{nome}} --single-branch {{local_do_repositório_remoto}} `
33
33
34
34
- Clona um repositório existente usando um comando SSH específico:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i caminho/para/chave_ssh_privada}}" {{local_do_repositório_remoto}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i caminho/para/chave_ssh_privada}}" {{local_do_repositório_remoto}} `
Original file line number Diff line number Diff line change 13
13
14
14
- ஏற்கனவே உள்ள களஞ்சியத்தின் ` .git ` கோப்பகத்தை மட்டும் குளோன் செய்யவும்:
15
15
16
- ` git clone -- no-checkout {{தொலை_களஞ்சிய_இடம்}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{தொலை_களஞ்சிய_இடம்}} `
17
17
18
18
- கணினியில் உள்ள ஒரு களஞ்சியத்தை குளோன் செய்யுங்கள்:
19
19
20
- ` git clone -- local {{கணினியில்/உள்ள/களஞ்சியத்தின்/பாதை}} `
20
+ ` git clone {{[-l|-- local]}} {{கணினியில்/உள்ள/களஞ்சியத்தின்/பாதை}} `
21
21
22
22
- அமைதியாக குளோன்:
23
23
24
- ` git clone -- quiet {{தொலை_களஞ்சிய_இடம்}} `
24
+ ` git clone {{[-q|-- quiet]}} {{தொலை_களஞ்சிய_இடம்}} `
25
25
26
26
- இயல்புநிலை கிளையில் மிகச் சமீபத்திய 10 கமிட்டுகளை மட்டுமே பெறும் களஞ்சியத்தை குளோன் செய்யுங்கள் (நேரத்தைச் சேமிக்க பயனுள்ளதாக இருக்கும்):
27
27
28
28
` git clone --depth {{10}} {{தொலை_களஞ்சிய_இடம்}} `
29
29
30
30
- ஏற்கனவே உள்ள களஞ்சியத்தை குளோன் செய்து ஒரு குறிப்பிட்ட கிளையை மட்டும் பெறுங்கள்:
31
31
32
- ` git clone -- branch {{பெயர்}} --single-branch {{தொலை_களஞ்சிய_இடம்}} `
32
+ ` git clone {{[-b|-- branch]}} {{பெயர்}} --single-branch {{தொலை_களஞ்சிய_இடம்}} `
33
33
34
34
- ஒரு குறிப்பிட்ட SSH கட்டளையைப் பயன்படுத்தி ஏற்கனவே உள்ள களஞ்சியத்தை குளோன் செய்யவும்:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i தனியார்_ssh_key/பாதை}}" {{தொலை_களஞ்சிய_இடம்}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i தனியார்_ssh_key/பாதை}}" {{தொலை_களஞ்சிய_இடம்}} `
Original file line number Diff line number Diff line change 13
13
14
14
- 仅克隆现有代码仓库的 ` .git ` 目录:
15
15
16
- ` git clone -- no-checkout {{远程_代码仓库_地址}} `
16
+ ` git clone {{[-n|-- no-checkout]}} {{远程_代码仓库_地址}} `
17
17
18
18
- 克隆一个本地的代码库:
19
19
20
- ` git clone -- local {{路径/到/本地/代码库名}} `
20
+ ` git clone {{[-l|-- local]}} {{路径/到/本地/代码库名}} `
21
21
22
22
- 静默克隆,不打印任何日志:
23
23
24
- ` git clone -- quiet {{远程代码库地址}} `
24
+ ` git clone {{[-q|-- quiet]}} {{远程代码库地址}} `
25
25
26
26
- 克隆一个现有的代码库,只获取默认分支上10个最新的提交(对节省时间很有用):
27
27
28
28
` git clone --depth {{10}} {{远程代码库地址}} `
29
29
30
30
- 克隆一个现有的、特定远程分支的代码库:
31
31
32
- ` git clone -- branch {{分支名称}} --single-branch {{远程代码库地址}} `
32
+ ` git clone {{[-b|-- branch]}} {{分支名称}} --single-branch {{远程代码库地址}} `
33
33
34
34
- 使用 SSH 命令克隆一个现有的代码库:
35
35
36
- ` git clone -- config core.sshCommand="{{ssh -i 路径/到/ssh_私钥}}" {{远程代码库地址}} `
36
+ ` git clone {{[-c|-- config]}} core.sshCommand="{{ssh -i 路径/到/ssh_私钥}}" {{远程代码库地址}} `
You can’t perform that action at this time.
0 commit comments