mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
*: fix style guide issues part 5 (#15789)
This commit is contained in:
parent
ce9de4753a
commit
77339b6988
57 changed files with 119 additions and 119 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Zeige die Historie einer bestimmten Datei oder eines Verzeichnisses, inklusive Unterschiede, an:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{pfad/zu/datei_oder_verzeichnis}}`
|
||||
`git log {{[-p|--patch]}} {{pfad/zu/datei_oder_verzeichnis}}`
|
||||
|
||||
- Zeige einen Überblick der Commits an und welche Dateien jeweils verändert wurden:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Zeige nur Commits, deren Commit-Nachricht einen bestimmten Text enthalten (Ohne Beachtung von Groß- und Kleinschreibung):
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{text}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{text}}`
|
||||
|
||||
- Zeige die letzten N Commits eines bestimmten Autors:
|
||||
|
||||
`git log {{-n|--max-count}} {{anzahl}} --author "{{autor}}"`
|
||||
`git log {{[-n|--max-count]}} {{anzahl}} --author "{{autor}}"`
|
||||
|
||||
- Zeige alle Commits zwischen zwei Zeitpunkten an (yyyy-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Starte einen interaktiven Rebase, bei dem Commits umsortiert, weggelassen, kombiniert oder verändert werden können:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{ziel_basisbranch_oder_commithash}}`
|
||||
`git rebase {{[-i|--interactive]}} {{ziel_basisbranch_oder_commithash}}`
|
||||
|
||||
- Setze einen Rebase fort, der durch einen Mergefehler unterbrochen wurde, nachdem die Konflikte aufgelöst wurden:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Bearbeite die 5 letzten Commits der aktuellen Basis um diese neu zu ordnen, auszulassen, kombinieren oder zu bearbeiten:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Löse Konflikte automatisch auf, indem der aktuelle Branch bevorzugt wird (das Schlüsselwort `theirs` hat in diesem Fall eine umgekehrte Bedeutung):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{branch_name}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{branch_name}}`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Liste alle existierenden Remotes, ihre Namen und ihre URLs auf:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Zeige Informationen über ein Remote an:
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- Elimina interactivamente archivos que no son rastreados por Git:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- Muestra que archivos serían borrados sin llegar a borrarlos:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- Elimina forzosamente los archivos que no son rastreados por Git:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- Elimina forzosamente los directorios que no son rastreados por Git:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- Elimina archivos sin rastrear, incluyendo los archivos ignorados en `.gitignore` y los excluidos en `.git/info/exclude`:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Cambia la URL a la que apunta Git LFS (útil si el servidor LFS está separado del servidor Git):
|
||||
|
||||
`git config {{-f|--file}} .lfsconfig lfs.url {{url_del_punto_de_acceso_LFS}}`
|
||||
`git config {{[-f|--file]}} .lfsconfig lfs.url {{url_del_punto_de_acceso_LFS}}`
|
||||
|
||||
- Muestra los patrones rastreados:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Muestra el historial de un archivo o directorio específico, incluyendo las diferencias:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{ruta/al/archivo_o_directorio}}`
|
||||
`git log {{[-p|--patch]}} {{ruta/al/archivo_o_directorio}}`
|
||||
|
||||
- Muestra un resumen de los archivos, o archivo, cambiados en cada confirmación:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Muestra solo las confirmaciones cuyo mensaje incluye una cadena dada (no diferencia entre mayúsculas y minúsculas):
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{cadena_a_buscar}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{cadena_a_buscar}}`
|
||||
|
||||
- Muestra las últimas N confirmaciones de determinado autor:
|
||||
|
||||
`git log {{-n|--max-count}} {{número}} --author "{{autor}}"`
|
||||
`git log {{[-n|--max-count]}} {{número}} --author "{{autor}}"`
|
||||
|
||||
- Muestra las confirmaciones entre dos fechas (yyyy-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Inicia un rebase interactivo que permite reordenar, omitir, combinar o modificar confirmaciones:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{rama_base_objetivo_o_hash_de_la_confirmación}}`
|
||||
`git rebase {{[-i|--interactive]}} {{rama_base_objetivo_o_hash_de_la_confirmación}}`
|
||||
|
||||
- Continúa un rebase que fue interrumpido por una fusión fallida después de editar los archivos con conflictos:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Reaplica las últimas cinco confirmaciones en su lugar, evita que puedan ser reordenadas, omitidas, combinadas o modificadas:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Resuelve automáticamente cualquier conflicto favoreciendo la versión de la rama en la que se está trabajando (en este caso la palabra `theirs` tiene un significado invertido):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{nombre_rama}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{nombre_rama}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Muestra solo las últimas 5 entradas en el registro de referencias:
|
||||
|
||||
`git reflog {{-n|--max-count}} 5`
|
||||
`git reflog {{[-n|--max-count]}} 5`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Muestra una lista de los remotos existentes, sus nombres y URL:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Muestra información de un remoto:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Imprime la última confirmación que cambió (agregó/editó/eliminó) un archivo específico en la rama actual:
|
||||
|
||||
`git rev-list {{-n|--max-count}} 1 HEAD -- {{ruta/al/archivo}}`
|
||||
`git rev-list {{[-n|--max-count]}} 1 HEAD -- {{ruta/al/archivo}}`
|
||||
|
||||
- Muestra las confirmaciones más recientes a partir de una fecha y una rama específica:
|
||||
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
|
||||
- Revierte confirmaciones sin crear nuevas confirmaciones:
|
||||
|
||||
`git revert {{-n|--no-commit}} {{0c01a9..9a1743}}`
|
||||
`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}`
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- Supprimer les fichiers non-suivis de manière interactive :
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- Affiche les fichiers non-suivis qui peuvent être supprimés :
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- Nettoyage forcé des fichiers non-suivis :
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- Nettoyage forcé des répertoires non-suivis :
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- Supprime tous les fichiers suivis, incluant ceux répertoriés par `.gitignore` et `.git/info/exclude` :
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Changer l'URL du point de terminaison Git LFS (utile si le serveur LFS est séparé du serveur Git) :
|
||||
|
||||
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
|
||||
`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
|
||||
|
||||
- Lister les pattern de fichiers suivis :
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Afficher l'historique de fichiers ou répertoires en particulier :
|
||||
|
||||
`git log {{-p|-u|--patch}} {{chemin/vers/fichier_ou_repertoire}}`
|
||||
`git log {{[-p|--patch]}} {{chemin/vers/fichier_ou_repertoire}}`
|
||||
|
||||
- Afficher la liste des fichiers modifiés pour chaque commit :
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Afficher uniquement les commits dont le message contient la chaine (non sensible à la casse) :
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{chaine_recherché}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{chaine_recherché}}`
|
||||
|
||||
- Afficher les N derniers commits d'un utilisateur :
|
||||
|
||||
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
|
||||
`git log {{[-n|--max-count]}} {{number}} --author "{{author}}"`
|
||||
|
||||
- Afficher les commits entre deux dates (yyyy-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Rejouer les comits interactivement, ce qui permet aux commits d'être re-arrangés, exclus, combinés ou modifiés :
|
||||
|
||||
`git rebase {{-i|--interactive}} {{branche_de_base_ou_commit}}`
|
||||
`git rebase {{[-i|--interactive]}} {{branche_de_base_ou_commit}}`
|
||||
|
||||
- Continuer le re-jeu des commits après la résolution d'un conflit :
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Rejoue les 5 derniers commits, ce qui permet aux commits d'être re-arrangés, exclus, combinés ou modifiés :
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Résoudre automatiquement les conflits en précisant la version à conserver (`theirs` signifie la version des fichiers à privilégier) :
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{master}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{master}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Affiche les 5 dernières entrées dans le reflog :
|
||||
|
||||
`git reflog {{-n|--max-count}} 5`
|
||||
`git reflog {{[-n|--max-count]}} 5`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Affiche les dépôts existants, leur nom et URL :
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Affiche les informations à propos d'un dépôt :
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- Hapus menggunakan mode interaktif:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- Tampilkan kumpulan berkas yang akan dihapus tanpa menghapusnya:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- Hapus berkas-berkas secara paksa:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- Hapus kumpulan [d]irektori secara paksa:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- Hapus berkas-berkas yang tak dilacak, termasuk berkas yang dikecualikan (menurut daftar `.gitignore` dan `.git/info/exclude`):
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Tampilkan daftar remote, namanya dan URL:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Tampilkan informasi tentang suatu remote:
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- Elimina in modo interattivo i file non tracciati da Git:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- Mostra quali file non tracciati sarebbero eliminati, senza però eliminarli davvero:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- Forza l'eliminazione dei file non tracciati da Git:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- Forza l'eliminazione delle directory non tracciate da Git:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- Elimina i file non tracciati, compresi quelli da ignorare elencati in `.gitignore` e `.git/info/exclude`:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Cambia l'URL endpoint di Git LFS (utile quando server LFS e server Git sono separati):
|
||||
|
||||
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_url_endpoint}}`
|
||||
`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_url_endpoint}}`
|
||||
|
||||
- Elenca i criteri tracciati:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Mostra la cronologia di un dato file o directory, mostrando anche le modifiche:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{percorso/del/file_o_directory}}`
|
||||
`git log {{[-p|--patch]}} {{percorso/del/file_o_directory}}`
|
||||
|
||||
- Offri una panoramica dei file che sono cambiati ad ogni commit:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Mostra solo i commit il cui messaggio contiene una data stringa (ignorando maiuscole/minuscole):
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{stringa_da_cercare}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{stringa_da_cercare}}`
|
||||
|
||||
- Mostra gli ultimi N commit di un certo autore:
|
||||
|
||||
`git log {{-n|--max-count}} {{numero}} --author "{{autore}}"`
|
||||
`git log {{[-n|--max-count]}} {{numero}} --author "{{autore}}"`
|
||||
|
||||
- Mostra i commit effettuati tra due date (yyyy-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Avvia un rebase interattivo, che consente di riordinare, omettere, unire o modificare i commit:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{nome_ramo_o_commit_hash}}`
|
||||
`git rebase {{[-i|--interactive]}} {{nome_ramo_o_commit_hash}}`
|
||||
|
||||
- Prosegui con un rebase che era stato sospeso da un errore di unione, dopo aver risolto i conflitti:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Applica gli ultimi 5 commit locali, consentendo di riordinarli, ometterli, unirli o modificarli:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Risolvi automaticamente i conflitti a favore del ramo di versione corrente (la parola chiave `theirs` ha qui un significato opposto):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{nome_ramo}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{nome_ramo}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Mostra le ultime 5 voci del reflog:
|
||||
|
||||
`git reflog {{-n|--max-count}} 5`
|
||||
`git reflog {{[-n|--max-count]}} 5`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Mostra l'elenco dei collegamenti remoti, con il loro nome e URL:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Mostra informazioni su un remote:
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- 깃에 의해 추적되지 않는 파일들 인터액티브 하게 지우기:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- 어떤 파일들이 제거될 것인지 실제로 지우지 않고 보여주기:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- 깃에 의해 추적되지 않는 파일들 강제적으로 지우기:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- 추적되지 않은 [d]irectory 강제로 삭제:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- 추적되지 않는 파일들, `.gitignore` 와 `.git/info/exclude` 안에 있는 무시된 파일들을 포함하여 지우기:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- 패치 형식으로 변경 사항 표시:
|
||||
|
||||
`git diff-tree {{-p|--patch}} {{tree-ish1}} {{tree-ish2}}`
|
||||
`git diff-tree {{[-p|--patch]}} {{tree-ish1}} {{tree-ish2}}`
|
||||
|
||||
- 특정 경로로 변경 사항 필터링:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Git LFS 엔드포인트 URL 변경 (LFS 서버가 Git 서버와 분리된 경우 유용):
|
||||
|
||||
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
|
||||
`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
|
||||
|
||||
- 추적된 패턴 나열:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- 변경 사항을 포함해, 특정 파일 또는 디렉토리의 이력 보기:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{경로/대상/파일_또는_폴더}}`
|
||||
`git log {{[-p|--patch]}} {{경로/대상/파일_또는_폴더}}`
|
||||
|
||||
- 각 커밋에서 어떤 파일이 변경되었는지 개요 보기:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- 특정 문자열이 포함된 커밋 메시지만 보기 (대소문자 구분 없이):
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{검색_문자열}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{검색_문자열}}`
|
||||
|
||||
- 특정 작성자의 마지막 N개의 커밋 보기:
|
||||
|
||||
`git log {{-n|--max-count}} {{개수}} --author "{{작성자}}"`
|
||||
`git log {{[-n|--max-count]}} {{개수}} --author "{{작성자}}"`
|
||||
|
||||
- 두 날짜(yyyy-mm-dd) 사이의 커밋 보기:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- 커밋을 재배치, 생략, 결합 또는 수정할 수 있도록 하는 대화형 리베이스 시작:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{대상_기저_브랜치_또는_커밋_해시}}`
|
||||
`git rebase {{[-i|--interactive]}} {{대상_기저_브랜치_또는_커밋_해시}}`
|
||||
|
||||
- 충돌하는 파일 편집 후, 병합 실패로 중단된 리베이스 계속하기:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- 마지막 5개의 커밋을 그대로 다시 적용해, 재배치, 생략, 결합 또는 수정할 수 있도록 멈추기:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- 작업 브랜치 버전을 우선하는 방식으로 모든 충돌을 자동으로 해결 (`theirs` 키워드는 이 경우 반대 의미를 갖습니다):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{브랜치_이름}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{브랜치_이름}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- 변경된 기록의 최근 5개 항목만 표시:
|
||||
|
||||
`git reflog {{-n|--max-count}} 5`
|
||||
`git reflog {{[-n|--max-count]}} 5`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- 이름과 URL을 포함한 기존 원격 저장소 목록 보기:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- 특정 원격 저장소에 대한 정보 표시:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- 특정 파일이 변경(추가/편집/제거)된 최신 커밋 출력:
|
||||
|
||||
`git rev-list {{-n|--max-count}} 1 HEAD -- {{경로/대상/파일}}`
|
||||
`git rev-list {{[-n|--max-count]}} 1 HEAD -- {{경로/대상/파일}}`
|
||||
|
||||
- 특정 날짜 이후의 커밋을 특정 브랜치에서 나열:
|
||||
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
|
||||
- 새로운 커밋을 생성하지 않고 작업 트리만 변경:
|
||||
|
||||
`git revert {{-n|--no-commit}} {{0c01a9..9a1743}}`
|
||||
`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Mostra o histórico de um arquivo ou diretório determinado, incluindo diferenças:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{caminho/para/arquivo_ou_diretório}}`
|
||||
`git log {{[-p|--patch]}} {{caminho/para/arquivo_ou_diretório}}`
|
||||
|
||||
- Mostra uma visão geral do(s) arquivo(s) alterado(s) em cada commit:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Mostra apenas os commits cujas mensagem incluem uma determinada cadeia de caracteres (sem distinção entre maiúsculas e minúsculas):
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{cadeia_de_caracteres_para_pesquisa}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{cadeia_de_caracteres_para_pesquisa}}`
|
||||
|
||||
- Mostra os últimos N commits de um determinado autor:
|
||||
|
||||
`git log {{-n|--max-count}} {{número}} --author "{{autor}}"`
|
||||
`git log {{[-n|--max-count]}} {{número}} --author "{{autor}}"`
|
||||
|
||||
- Mostra os commits entre duas datas(aaaa-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Inicia um rebase interativo, que permite os commits serem reordenados, omitidos, combinados ou modificados:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{branch_base_alvo_ou_hash_do_commit}}`
|
||||
`git rebase {{[-i|--interactive]}} {{branch_base_alvo_ou_hash_do_commit}}`
|
||||
|
||||
- Continua um rebase que foi interrompido por uma falha de mesclagem, após a edição de arquivos conflitantes:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Reaplica os últimos 5 commits no local, parando para permitir que eles sejam reordenados, omitidos, combinados ou modificados:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Resolve automaticamente quaisquer conflitos favorecendo a versão da branch de trabalho (a palavra-chave `theirs` tem significado invertido nesse caso):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{nome_da_branch}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{nome_da_branch}}`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Lista remotes existentes com seus nomes e URLs:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Mostra infomação de um remote específico:
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- கிட் மூலம் கண்காணிக்கப்படாத கோப்புகளை ஊடாடும் வகையில் நீக்கு:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- எந்த கோப்புகள் உண்மையில் நீக்கப்படாமல் நீக்கப்படும் என்பதைக் காட்டு:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- கிட் மூலம் கண்காணிக்கப்படாத கோப்புகளை கட்டாயமாக நீக்கு:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- கிட் மூலம் கண்காணிக்கப்படாத கோப்பகங்களை கட்டாயமாக நீக்கு:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- `.gitignore` மற்றும் `.git/info/exclude` ஆகியவற்றில் புறக்கணிக்கப்பட்ட கோப்புகள் உட்பட, தடமறியப்படாத கோப்புகளை நீக்கு:
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- Git tarafından takip edilmeyen dosyaları etkileşimli bir nizamda sil:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- Hangi dosyaların silinmeye aday olduğunu onları silmeden göster:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- Git tarafından takip edilmeyen dosyaları zorla zil:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- Git tarafından takip edilmeyen dizinleri zorla zil:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- `.gitignore` ve `.git/info/exclude`'deki yoksayılan dosyalar dahiş olmak üzere takip edilmeyen dosyaları sil:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Git LFS uç nokta URL'sini değiştir (LFS sunucusunun Git sunucusundan ayrı olması durumunda işlevseldir):
|
||||
|
||||
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_uç_nokta_url'si}}`
|
||||
`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_uç_nokta_url'si}}`
|
||||
|
||||
- İzlenen kalıpları sırala:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Belirtilen dosya veya dizinin tarihini farklılıklarla beraber göster:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{dosya/veya/dizin/konumu}}`
|
||||
`git log {{[-p|--patch]}} {{dosya/veya/dizin/konumu}}`
|
||||
|
||||
- Her bir commit'de hangi dosya(lar)ın değiştiğinin önizlemesini göster:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Mesajları yalnızca belirtilen ifadeleri içeren commit'leri göster (büyük-küçük harfe duyarsız):
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{aranan_ifade}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{aranan_ifade}}`
|
||||
|
||||
- Belirtilmiş yazardan gelen, belirtilen sayıda commit göster:
|
||||
|
||||
`git log {{-n|--max-count}} {{sayı}} --author "{{yazar}}"`
|
||||
`git log {{[-n|--max-count]}} {{sayı}} --author "{{yazar}}"`
|
||||
|
||||
- İki tarih arasında yapılmış commit'leri göster:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Commit'lerin sıralanması, çıkartılması, birleştirilmesi veya modifiye edilmesine izin vermek için tekrar temellemeyi etkileşimli olacak şekilde başlat:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{hedef_taban_dalı_veya_commit_değeri}}`
|
||||
`git rebase {{[-i|--interactive]}} {{hedef_taban_dalı_veya_commit_değeri}}`
|
||||
|
||||
- Bir birleştirme hatası tarafından durdurulan tekrar temelleme işlemini çekişen dosyaları düzenledikten sonra devam ettir:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Son 3 commit'i etkileşimli olmayacak şekilde yeniden uygula:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Herhangi bir çatışmayı çalışan dal sürümünü kurtarmak üzere otomatik olarak çöz (`theirs` argümanı burada ters anlama sahip):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{dal_ismi}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{dal_ismi}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Referans kaydında sadece son 5 değişimi göster:
|
||||
|
||||
`git reflog {{-n|--max-count}} 5`
|
||||
`git reflog {{[-n|--max-count]}} 5`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Varolan uzak bağlantıların isim ve URL'leriyle bir listesini göster:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Uzak bağlantı ile ilgili bilgi göster:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Розпочинає інтерактивне перебазування, яке дозволяє змінювати порядок, оминати, об'єднувати чи редагувати коміти:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{цільова_базова_гілка_або_хеш_коміту}}`
|
||||
`git rebase {{[-i|--interactive]}} {{цільова_базова_гілка_або_хеш_коміту}}`
|
||||
|
||||
- Продовжує перебазування перерване через збій злиття після виправлення конфліктних файлів:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Повторно застосовує останні 5 комітів, зупиняючись аби змінювати порядок, оминати, об'єднувати чи редагувати їх:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Автоматично вирішує будь-які конфлікти надавши перевагу робочій версії гілки (ключ `theirs` має обернене значення в цьому випадку):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{назва_гілки}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{назва_гілки}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- 查看指定文件或指定目录的历史,包括每次提交所引入的差异:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{路径/到/文件或目录}}`
|
||||
`git log {{[-p|--patch]}} {{路径/到/文件或目录}}`
|
||||
|
||||
- 显示每次提交的文件修改统计信息:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- 查看提交消息中包含特定字符串(大小写敏感)的提交:
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{字符串}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{字符串}}`
|
||||
|
||||
- 查看特定作者的最近 N 条提交:
|
||||
|
||||
`git log {{-n|--max-count}} {{数字}} --author "{{作者}}"`
|
||||
`git log {{[-n|--max-count]}} {{数字}} --author "{{作者}}"`
|
||||
|
||||
- 查看两个日期之间的提交(yyyy-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- 启动交互式的合并任务,允许对提交的内容进行重新排序、省略、合并或修改:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{目标分支或 commit 的 hash}}`
|
||||
`git rebase {{[-i|--interactive]}} {{目标分支或 commit 的 hash}}`
|
||||
|
||||
- 处理完冲突文件后,继续执行合并任务:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- 启动交互式的合并任务,对最近提交的 5 个 commits 进行重新排序、省略、合并或修改:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- 以当前分支优先的策略,自动处理分支间的冲突,执行合并:
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{分支名称}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{分支名称}}`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- 列出已经存在的远程仓库,包括它们的名字和 URL:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- 查看某个远程仓库的信息:
|
||||
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
|
||||
- Interactively delete untracked files:
|
||||
|
||||
`git clean {{-i|--interactive}}`
|
||||
`git clean {{[-i|--interactive]}}`
|
||||
|
||||
- Show which files would be deleted without actually deleting them:
|
||||
|
||||
`git clean --dry-run`
|
||||
`git clean {{[-n|--dry-run]}}`
|
||||
|
||||
- Forcefully delete untracked files:
|
||||
|
||||
`git clean {{-f|--force}}`
|
||||
`git clean {{[-f|--force]}}`
|
||||
|
||||
- Forcefully delete untracked [d]irectories:
|
||||
|
||||
`git clean {{-f|--force}} -d`
|
||||
`git clean {{[-f|--force]}} -d`
|
||||
|
||||
- Delete untracked files, including e[x]cluded files (files ignored in `.gitignore` and `.git/info/exclude`):
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Display changes in patch format:
|
||||
|
||||
`git diff-tree {{-p|--patch}} {{tree-ish1}} {{tree-ish2}}`
|
||||
`git diff-tree {{[-p|--patch]}} {{tree-ish1}} {{tree-ish2}}`
|
||||
|
||||
- Filter changes by a specific path:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Change the Git LFS endpoint URL (useful if the LFS server is separate from the Git server):
|
||||
|
||||
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
|
||||
`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
|
||||
|
||||
- List tracked patterns:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Show the history of a particular file or directory, including differences:
|
||||
|
||||
`git log {{-p|-u|--patch}} {{path/to/file_or_directory}}`
|
||||
`git log {{[-p|--patch]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Show an overview of which file(s) changed in each commit:
|
||||
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Show only commits with messages that include a specific string, ignoring case:
|
||||
|
||||
`git log {{-i|--regexp-ignore-case}} --grep {{search_string}}`
|
||||
`git log {{[-i|--regexp-ignore-case]}} --grep {{search_string}}`
|
||||
|
||||
- Show the last N number of commits from a certain author:
|
||||
|
||||
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
|
||||
`git log {{[-n|--max-count]}} {{number}} --author "{{author}}"`
|
||||
|
||||
- Show commits between two dates (yyyy-mm-dd):
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{target_base_branch_or_commit_hash}}`
|
||||
`git rebase {{[-i|--interactive]}} {{target_base_branch_or_commit_hash}}`
|
||||
|
||||
- Continue a rebase that was interrupted by a merge failure, after editing conflicting files:
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
|||
|
||||
- Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified:
|
||||
|
||||
`git rebase {{-i|--interactive}} {{HEAD~5}}`
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
- Auto-resolve any conflicts by favoring the working branch version (`theirs` keyword has reversed meaning in this case):
|
||||
|
||||
`git rebase {{-X|--strategy-option}} theirs {{branch_name}}`
|
||||
`git rebase {{[-X|--strategy-option]}} theirs {{branch_name}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Show only the 5 latest entries in the reflog:
|
||||
|
||||
`git reflog {{-n|--max-count}} 5`
|
||||
`git reflog {{[-n|--max-count]}} 5`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- List existing remotes with their names and URLs:
|
||||
|
||||
`git remote {{-v|--verbose}}`
|
||||
`git remote {{[-v|--verbose]}}`
|
||||
|
||||
- Show information about a remote:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Print the latest commit that changed (add/edit/remove) a specific file on the current branch:
|
||||
|
||||
`git rev-list {{-n|--max-count}} 1 HEAD -- {{path/to/file}}`
|
||||
`git rev-list {{[-n|--max-count]}} 1 HEAD -- {{path/to/file}}`
|
||||
|
||||
- List commits more recent than a specific date, on a specific branch:
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
- Don't create new commits, just change the working tree:
|
||||
|
||||
`git revert {{-n|--no-commit}} {{0c01a9..9a1743}}`
|
||||
`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}`
|
||||
|
||||
- Cancel a Git revert after a merge conflict:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue