mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
git-*: add short/long options (#21651)
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
|
||||
- Abre el repositorio Git en la ruta mencionada:
|
||||
|
||||
`git cola --repo {{ruta/al/repositorio-git}}`
|
||||
`git cola {{[-r|--repo]}} {{ruta/al/repositorio-git}}`
|
||||
|
||||
- Aplica el filtro de ruta al componente gráfico de estado:
|
||||
|
||||
`git cola --status-filter {{filtro}}`
|
||||
`git cola {{[-s|--status-filter]}} {{filtro}}`
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
- Utiliser un outil de comparaison spécifique (opendiff) pour afficher les changements depuis un commit :
|
||||
|
||||
`git difftool --tool={{opendiff}} {{commit}}`
|
||||
`git difftool {{[-t|--tool]}} {{opendiff}} {{commit}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- Tampilkan informasi seluruh atribut Git dalam suatu berkas:
|
||||
|
||||
`git check-attr --all {{jalan/menuju/berkas}}`
|
||||
`git check-attr {{[-a|--all]}} {{jalan/menuju/berkas}}`
|
||||
|
||||
- Cek nilai suatu atribut Git dalam suatu berkas:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Cek nilai seluruh atribut Git dalam kumpulan berkas:
|
||||
|
||||
`git check-attr --all {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}`
|
||||
`git check-attr {{[-a|--all]}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}`
|
||||
|
||||
- Cek nilai suatu atribut Git dalam kumpulan berkas:
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
- Jalankan dengan membuka repositori Git dengan alamat yang ditentukan:
|
||||
|
||||
`git cola --repo {{jalan/menuju/repositori-git}}`
|
||||
`git cola {{[-r|--repo]}} {{jalan/menuju/repositori-git}}`
|
||||
|
||||
- Terapkan filter jalur ke dalam widget status:
|
||||
|
||||
`git cola --status-filter {{filter}}`
|
||||
`git cola {{[-s|--status-filter]}} {{filter}}`
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- Hitung jumlah seluruh objek dan pemakaian ruang penyimpanan, dalam format satuan yang lebih ramah dibaca manusia:
|
||||
|
||||
`git count-objects --human-readable`
|
||||
`git count-objects {{[-H|--human-readable]}}`
|
||||
|
||||
- Tampilkan informasi perhitungan secara lebih mendalam:
|
||||
|
||||
`git count-objects --verbose`
|
||||
`git count-objects {{[-v|--verbose]}}`
|
||||
|
||||
- Tampilkan informasi perhitungan secara lebih mendalam, menggunakan format satuan yang lebih ramah dibaca manusia:
|
||||
|
||||
`git count-objects --human-readable --verbose`
|
||||
`git count-objects {{[-H|--human-readable]}} {{[-v|--verbose]}}`
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
- Uso uno specifico strumento Diff (opendiff) per mostrare le modifiche a partire da un dato commit:
|
||||
|
||||
`git difftool --tool={{opendiff}} {{commit}}`
|
||||
`git difftool {{[-t|--tool]}} {{opendiff}} {{commit}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- 파일의 모든 속성 값을 확인:
|
||||
|
||||
`git check-attr --all {{경로/대상/파일}}`
|
||||
`git check-attr {{[-a|--all]}} {{경로/대상/파일}}`
|
||||
|
||||
- 파일의 특정 속성 값을 확인:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- 특정 파일들의 모든 속성 값을 확인:
|
||||
|
||||
`git check-attr --all {{경로/대상/파일1 경로/대상/파일2 ...}}`
|
||||
`git check-attr {{[-a|--all]}} {{경로/대상/파일1 경로/대상/파일2 ...}}`
|
||||
|
||||
- 하나 이상의 파일에 대한 특정 속성 값을 확인:
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
- 지정된 경로의 Git 저장소 열기:
|
||||
|
||||
`git cola --repo {{경로/대상/git-저장소}}`
|
||||
`git cola {{[-r|--repo]}} {{경로/대상/git-저장소}}`
|
||||
|
||||
- 상태 위젯에 경로 필터 적용:
|
||||
|
||||
`git cola --status-filter {{필터}}`
|
||||
`git cola {{[-s|--status-filter]}} {{필터}}`
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- 모든 객체의 수와 총 디스크 사용량을 계산하여 사람이 읽기 쉬운 단위로 표시:
|
||||
|
||||
`git count-objects --human-readable`
|
||||
`git count-objects {{[-H|--human-readable]}}`
|
||||
|
||||
- 더 자세한 정보 표시:
|
||||
|
||||
`git count-objects --verbose`
|
||||
`git count-objects {{[-v|--verbose]}}`
|
||||
|
||||
- 더 자세한 정보를 사람이 읽기 쉬운 단위로 표시:
|
||||
|
||||
`git count-objects --human-readable --verbose`
|
||||
`git count-objects {{[-H|--human-readable]}} {{[-v|--verbose]}}`
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
- 특정 도구(opendiff)를 사용하여 주어진 커밋 이후의 변경 사항 표시:
|
||||
|
||||
`git difftool --tool={{opendiff}} {{커밋}}`
|
||||
`git difftool {{[-t|--tool]}} {{opendiff}} {{커밋}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- Bir dosyadaki tüm atıfları kontrol et:
|
||||
|
||||
`git check-attr --all {{örnek/dosya}}`
|
||||
`git check-attr {{[-a|--all]}} {{örnek/dosya}}`
|
||||
|
||||
- Bir dosyadaki belirtilmiş atıfın değerini kontrol et:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Birden fazla dosyadaki belirtilmiş atıfın değerini kontrol et:
|
||||
|
||||
`git check-attr --all {{örnek/dosya1 örnek/dosya2 ...}}`
|
||||
`git check-attr {{[-a|--all]}} {{örnek/dosya1 örnek/dosya2 ...}}`
|
||||
|
||||
- Bir veya birden fazla dosyadaki belirtilmiş atıfın değerini kontrol et:
|
||||
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- Tüm cisimleri say ve toplam disk tüketimlerini insanların okuyabileceği biçimde görüntüle:
|
||||
|
||||
`git count-objects --human-readable`
|
||||
`git count-objects {{[-H|--human-readable]}}`
|
||||
|
||||
- Daha fazla ayrıntı görüntüle:
|
||||
|
||||
`git count-objects --verbose`
|
||||
`git count-objects {{[-v|--verbose]}}`
|
||||
|
||||
- Daha fazla ayrıntıyı insanların okuyabileceği biçimde görüntüle:
|
||||
|
||||
`git count-objects --human-readable --verbose`
|
||||
`git count-objects {{[-H|--human-readable]}} {{[-v|--verbose]}}`
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
- Verilen commit'den itibaren yapılmış değişiklikleri göstermek için (opendiff) kullan:
|
||||
|
||||
`git difftool --tool={{opendiff}} {{commit}}`
|
||||
`git difftool {{[-t|--tool]}} {{opendiff}} {{commit}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- 检查文件的所有属性状态:
|
||||
|
||||
`git check-attr --all {{路径/到/文件}}`
|
||||
`git check-attr {{[-a|--all]}} {{路径/到/文件}}`
|
||||
|
||||
- 查看文件的某个特定属性值:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- 查看指定文件的所有属性值:
|
||||
|
||||
`git check-attr --all {{路径/到/文件1 路径/到/文件2 ...}}`
|
||||
`git check-attr {{[-a|--all]}} {{路径/到/文件1 路径/到/文件2 ...}}`
|
||||
|
||||
- 在一或多个文件上查看特定的属性值:
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
- 打开指定路径的 Git 仓库:
|
||||
|
||||
`git cola --repo {{路径/到/git仓库}}`
|
||||
`git cola {{[-r|--repo]}} {{路径/到/git仓库}}`
|
||||
|
||||
- 在状态组件中应用路径过滤器:
|
||||
|
||||
`git cola --status-filter {{过滤器}}`
|
||||
`git cola {{[-s|--status-filter]}} {{过滤器}}`
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
- 统计所有对象并以易读格式显示总磁盘使用量(如KB/MB):
|
||||
|
||||
`git count-objects --human-readable`
|
||||
`git count-objects {{[-H|--human-readable]}}`
|
||||
|
||||
- 显示详细统计信息(包括对象类型细分):
|
||||
|
||||
`git count-objects --verbose`
|
||||
`git count-objects {{[-v|--verbose]}}`
|
||||
|
||||
- 以易读格式显示详细统计信息:
|
||||
|
||||
`git count-objects --human-readable --verbose`
|
||||
`git count-objects {{[-H|--human-readable]}} {{[-v|--verbose]}}`
|
||||
|
||||
Reference in New Issue
Block a user