1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 07:19:45 +01:00

git*: update outdated pages, fix English pages (#14149)

This commit is contained in:
Sebastiaan Speck 2024-10-13 10:26:47 +02:00 committed by GitHub
parent 896e024860
commit f21fa6a211
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
96 changed files with 302 additions and 302 deletions

View file

@ -14,7 +14,7 @@
- বর্তমান ব্র্যাঞ্চে একাধিক (অ-ক্রমিক) কমিট করুন:
`git cherry-pick {{কমিট_১}} {{কমিট_২}}`
`git cherry-pick {{কমিট_১ কমিট_২ ...}}`
- কমিট তৈরি না করেই ওয়ার্কিং ডিরেক্টরিতে কমিটের পরিবর্তন যোগ করুন:

View file

@ -5,24 +5,24 @@
- Erstelle ein tar-Archiv aus dem Inhalt des aktuellen HEAD und gib dieses aus:
`git archive --verbose HEAD`
`git archive {{-v|--verbose}} HEAD`
- Erstelle ein zip-Archiv aus dem Inhalt des aktuellen HEAD und gib dieses aus:
`git archive --verbose --format zip HEAD`
`git archive {{-v|--verbose}} --format zip HEAD`
- Erstelle ein zip-Archiv aus dem Inhalt des aktuellen HEAD und speichere dieses in eine Datei:
`git archive --verbose --output {{pfad/zu/datei.zip}} HEAD`
`git archive {{-v|--verbose}} {{-o|--output}} {{pfad/zu/datei.zip}} HEAD`
- Erstelle ein tar-Archiv aus dem Inhalt des letzten Commits eines bestimmten Branches:
`git archive --output {{pfad/zu/datei.tar}} {{branch_name}}`
`git archive {{-o|--output}} {{pfad/zu/datei.tar}} {{branch_name}}`
- Erstelle ein tar-Archiv aus dem Inhalt eines bestimmten Verzeichnisses:
`git archive --output {{pfad/zu/datei.tar}} HEAD:{{pfad/zu/verzeichnis}}`
`git archive {{-o|--output}} {{pfad/zu/datei.tar}} HEAD:{{pfad/zu/verzeichnis}}`
- Stelle jeder Datei einen Pfad voran, um sie in einem bestimmten Verzeichnis zu archivieren:
`git archive --output {{pfad/zu/datei.tar}} --prefix {{pfad/zu/verzeichnis}}/ HEAD`
`git archive {{-o|--output}} {{pfad/zu/datei.tar}} --prefix {{pfad/zu/verzeichnis}}/ HEAD`

View file

@ -9,4 +9,4 @@
- Gib die Commit-Hashes und dem Autor (inklusive E-Mail) jeder Zeile einer Datei aus:
`git blame -e {{pfad/zu/datei}}`
`git blame {{-e|--show-email}} {{pfad/zu/datei}}`

View file

@ -25,11 +25,11 @@
- Benenne einen Branches um (der Branch muss nicht ausgecheckt sein):
`git branch -m {{alter_branch_name}} {{neuer_branch_name}}`
`git branch {{-m|--move}} {{alter_branch_name}} {{neuer_branch_name}}`
- Lösche einen lokalen Branch (der Branch muss nicht ausgecheckt sein):
`git branch -d {{branch_name}}`
`git branch {{-d|--delete}} {{branch_name}}`
- Lösche einen remote-Branch:

View file

@ -25,7 +25,7 @@
- Comitte nur spezifische Dateien (die Dateien müssen schon auf dem Stage liegen):
`git commit {{pfad/zu/datei1}} {{pfad/zu/datei2}}`
`git commit {{pfad/zu/datei1 pfad/zu/datei2 ...}}`
- Erzeuge einen Commit, auch wenn keine Dateien auf dem Stage liegen:

View file

@ -9,7 +9,7 @@
- Zeige die Historie einer bestimmten Datei oder eines Verzeichnisses, inklusive Unterschiede, an:
`git log -p {{pfad/zu/datei_oder_verzeichnis}}`
`git log {{-p|-u|--patch}} {{pfad/zu/datei_oder_verzeichnis}}`
- Zeige einen Überblick der Commits an und welche Dateien jeweils verändert wurden:
@ -25,12 +25,12 @@
- Zeige nur Commits, deren Commit-Nachricht einen bestimmten Text enthalten (Ohne Beachtung von Groß- und Kleinschreibung):
`git log -i --grep {{text}}`
`git log {{-i|--regexp-ignore-case}} --grep {{text}}`
- Zeige die letzten N Commits eines bestimmten Autors:
`git log -n {{anzahl}} --author={{autor}}`
`git log {{-n|--max-count}} {{anzahl}} --author "{{autor}}"`
- Zeige alle Commits zwischen zwei Zeitpunkten an (yyyy-mm-dd):
`git log --before="{{2017-01-29}}" --after="{{2017-01-17}}"`
`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"`

View file

@ -10,7 +10,7 @@
- Starte einen interaktiven Rebase, bei dem Commits umsortiert, weggelassen, kombiniert oder verändert werden können:
`git rebase -i {{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 {{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 theirs {{branch_name}}`
`git rebase {{-X|--strategy-option}} theirs {{branch_name}}`

View file

@ -5,7 +5,7 @@
- Liste alle existierenden Remotes, ihre Namen und ihre URLs auf:
`git remote -v`
`git remote {{-v|--verbose}}`
- Zeige Informationen über ein Remote an:

View file

@ -4,18 +4,6 @@
> Manche Unterbefehle wie `commit` sind separat dokumentiert.
> Weitere Informationen: <https://git-scm.com/>.
- Gib die installierte Git Version aus:
`git --version`
- Zeige die generelle Hilfeseite an:
`git --help`
- Zeige die Hilfeseite eines Unterbefehls an:
`git help {{unterbefehl}}`
- Führe einen Git-Unterbefehl aus:
`git {{unterbefehl}}`
@ -27,3 +15,15 @@
- Führe einen Git-Unterbefehl mit der angegebenen Konfiguration aus:
`git -c '{{config.key}}={{wert}}' {{unterbefehl}}`
- Zeige die generelle Hilfeseite an:
`git --help`
- Zeige die Hilfeseite eines Unterbefehls an:
`git help {{unterbefehl}}`
- Gib die installierte Git Version aus:
`git --version`

View file

@ -13,11 +13,11 @@
- Crea un archivo bundle de los últimos 5 commits de la rama actual:
`git bundle create {{ruta/al/archivo.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{ruta/al/archivo.bundle}} -5 {{HEAD}}`
- Crea un archivo bundle de los últimos 7 días:
`git bundle create {{ruta/al/archivo.bundle}} --since {{7.days}} {{HEAD}}`
`git bundle create {{ruta/al/archivo.bundle}} --since 7.days {{HEAD}}`
- Verifica que un archivo bundle es válido y puede aplicarse al repositorio actual:

View file

@ -9,7 +9,7 @@
- Elimina interactivamente archivos que no son rastreados por Git:
`git clean {{--interactive|-i}}`
`git clean {{-i|--interactive}}`
- Muestra que archivos serían borrados sin llegar a borrarlos:
@ -17,11 +17,11 @@
- Elimina forzosamente los archivos que no son rastreados por Git:
`git clean {{--force|-f}}`
`git clean {{-f|--force}}`
- Elimina forzosamente los directorios que no son rastreados por Git:
`git clean {{--force|-f}} -d`
`git clean {{-f|--force}} -d`
- Elimina archivos sin rastrear, incluyendo los archivos ignorados en `.gitignore` y los excluidos en `.git/info/exclude`:

View file

@ -9,7 +9,7 @@
- Muestra el historial de un archivo o directorio específico, incluyendo las diferencias:
`git log {{--patch|-p|-u}} {{ruta/al/archivo_o_directorio}}`
`git log {{-p|-u|--patch}} {{ruta/al/archivo_o_directorio}}`
- Muestra un resumen de los archivos, o archivo, cambiados en cada confirmación:
@ -29,7 +29,7 @@
- Muestra las últimas N confirmaciones de determinado autor:
`git log {{--max-count|-n}} {{número}} --author "{{autor}}"`
`git log {{-n|--max-count}} {{número}} --author "{{autor}}"`
- Muestra las confirmaciones entre dos fechas (yyyy-mm-dd):

View file

@ -17,7 +17,7 @@
- Muestra un resumen de las últimas cinco confirmaciones (i. e., un rango de revisiones específico):
`git shortlog HEAD~{{5}}..HEAD`
`git shortlog HEAD~5..HEAD`
- Muestra todos los usuarios, correos electrónicos y número de confirmaciones en la rama actual:

View file

@ -5,24 +5,24 @@
- Crée une archive `.tar` avec le contenu de la HEAD et l'affiche sur la sortie standard :
`git archive --verbose HEAD`
`git archive {{-v|--verbose}} HEAD`
- Crée une archive Zip avec le contenu de la HEAD et l'affiche sur la sortie standard :
`git archive --verbose --format zip HEAD`
`git archive {{-v|--verbose}} --format zip HEAD`
- Pareil que ci-dessus mais écrit dans l'archive spécifiée :
`git archive --verbose --output {{chemin/vers/fichier.zip}} HEAD`
`git archive {{-v|--verbose}} {{-o|--output}} {{chemin/vers/fichier.zip}} HEAD`
- Crée une archive depuis le dernier commit de la branche spécifiée :
`git archive --output {{chemin/vers/fichier.tar}} {{nom_de_branche}}`
`git archive {{-o|--output}} {{chemin/vers/fichier.tar}} {{nom_de_branche}}`
- Crée une archive avec le contenu d'un répertoire donné :
`git archive --output {{chemin/vers/fichier.tar}} HEAD:{{chemin/vers/repertoire}}`
`git archive {{-o|--output}} {{chemin/vers/fichier.tar}} HEAD:{{chemin/vers/repertoire}}`
- Ajoutez un chemin d'accès à chaque fichier pour l'archiver dans un répertoire spécifique :
`git archive --output {{chemin/vers/fichier.tar}} --prefix {{chemin/vers/cible}}/ HEAD`
`git archive {{-o|--output}} {{chemin/vers/fichier.tar}} --prefix {{chemin/vers/cible}}/ HEAD`

View file

@ -9,4 +9,4 @@
- Affiche le hash de commit le nom et l email de l auteur en face de chaque ligne :
`git blame -e {{file}}`
`git blame {{-e|--show-email}} {{file}}`

View file

@ -21,11 +21,11 @@
- Renommer une branche (ne pas se trouver sur la branche pour le faire) :
`git branch -m {{ancien_nom_de_branche}} {{nouveau_nom_de_branche}}`
`git branch {{-m|--move}} {{ancien_nom_de_branche}} {{nouveau_nom_de_branche}}`
- Supprimer un branche locale (ne pas se trouver sur la branche pour le faire) :
`git branch -d {{nom_de_branche}}`
`git branch {{-d|--delete}} {{nom_de_branche}}`
- Supprimer une branche distante :

View file

@ -13,11 +13,11 @@
- Crée un empaquetage des 5 derniers commits de la branche courante :
`git bundle create {{chemin/vers/fichier.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{chemin/vers/fichier.bundle}} -5 {{HEAD}}`
- Crée un empaquetage des 7 derniers jours :
`git bundle create {{chemin/vers/fichier.bundle}} --since={{7.days}} {{HEAD}}`
`git bundle create {{chemin/vers/fichier.bundle}} --since 7.days {{HEAD}}`
- Vérifie qu'un empaquetage est valide et peut être appliqué à la branche courante :

View file

@ -14,7 +14,7 @@
- Appliquer plusieurs commits non séquentiels à la branche courante :
`git cherry-pick {{commit_1}} {{commit_2}}`
`git cherry-pick {{commit_1 commit_2 ...}}`
- Appliquer les changements d'un commit à la branche courante sans créer de commit :

View file

@ -5,7 +5,7 @@
- Afficher les commits (et leurs messages) avec des commits équivalents en amont :
`git cherry -v`
`git cherry {{-v|--verbose}}`
- Spécifiez une branche amont et une branche de rubrique différentes :

View file

@ -9,7 +9,7 @@
- Supprimer les fichiers non-suivis de manière interactive :
`git clean -i`
`git clean {{-i|--interactive}}`
- Affiche les fichiers non-suivis qui peuvent être supprimés :
@ -17,11 +17,11 @@
- Nettoyage forcé des fichiers non-suivis :
`git clean -f`
`git clean {{-f|--force}}`
- Nettoyage forcé des répertoires non-suivis :
`git clean -fd`
`git clean {{-f|--force}} -d`
- Supprime tous les fichiers suivis, incluant ceux répertoriés par `.gitignore` et `.git/info/exclude` :

View file

@ -17,4 +17,4 @@
- Commit seulement les fichiers spécifiés (qui sont déjà en stage) :
`git commit {{chemin/vers/mon/fichier1}} {{chemin/vers/mon/fichier2}}`
`git commit {{chemin/vers/mon/fichier1 chemin/vers/mon/fichier2 ...}}`

View file

@ -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 .lfsconfig lfs.url {{lfs_endpoint_url}}`
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_endpoint_url}}`
- Lister les pattern de fichiers suivis :

View file

@ -9,7 +9,7 @@
- Afficher l'historique de fichiers ou répertoires en particulier :
`git log -p {{chemin/vers/fichier_ou_repertoire}}`
`git log {{-p|-u|--patch}} {{chemin/vers/fichier_ou_repertoire}}`
- Afficher la liste des fichiers modifiés pour chaque commit :
@ -25,12 +25,12 @@
- Afficher uniquement les commits dont le message contient la chaine (non sensible à la casse) :
`git log -i --grep {{chaine_recherché}}`
`git log {{-i|--regexp-ignore-case}} --grep {{chaine_recherché}}`
- Afficher les N derniers commits d'un utilisateur :
`git log -n {{number}} --author={{author}}`
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
- Afficher les commits entre deux dates (yyyy-mm-dd):
`git log --before="{{2017-01-29}}" --after="{{2017-01-17}}"`
`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"`

View file

@ -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 {{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 {{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 theirs {{master}}`
`git rebase {{-X|--strategy-option}} theirs {{master}}`

View file

@ -13,4 +13,4 @@
- Affiche les 5 dernières entrées dans le reflog :
`git reflog -n {{5}}`
`git reflog {{-n|--max-count}} 5`

View file

@ -5,7 +5,7 @@
- Affiche les dépôts existants, leur nom et URL :
`git remote -v`
`git remote {{-v|--verbose}}`
- Affiche les informations à propos d'un dépôt :

View file

@ -9,20 +9,20 @@
- Afficher un résumé de tous les commits effectués, regroupés par le nombre de commits effectués :
`git shortlog -n`
`git shortlog {{-n|--numbered}}`
- Afficher un résumé de tous les commits effectués, regroupés par le nom et l'email de l'utilisateur :
`git shortlog -c`
`git shortlog {{-c|--committer}}`
- Afficher un résumé des 5 derniers commits effectués :
`git shortlog HEAD~{{5}}..HEAD`
`git shortlog HEAD~5..HEAD`
- Afficher tout les utilisateurs, emails et le nombre de commits dans la branche :
`git shortlog -sne`
`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}}`
- Afficher tout les utilisateurs, emails et le nombre de commits dans toutes les branches :
`git shortlog -sne --all`
`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}} --all`

View file

@ -9,7 +9,7 @@
- Cloner un dépôt SVN à partir d'une révision donnée :
`git svn clone -r{{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}`
`git svn clone {{-r|--revision}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}`
- Mettre à jour le clone local à partir du dépôt SVN distant :

View file

@ -4,18 +4,6 @@
> Certaines commandes comme `git commit` ont leur propre documentation.
> Plus d'informations : <https://git-scm.com/>.
- Obtenir la version de Git :
`git --version`
- Afficher l'aide générale :
`git --help`
- Afficher l'aide sur une sous-commande Git :
`git help {{sous_commande}}`
- Exécuter une sous-commande Git :
`git {{sous_commande}}`
@ -27,3 +15,15 @@
- Exécuter une sous-commande Git avec un paramètre de configuration spécifique :
`git -c '{{cle_param_config}}={{valeur}}' {{sous_commande}}`
- Afficher l'aide générale :
`git --help`
- Afficher l'aide sur une sous-commande Git :
`git help {{sous_commande}}`
- Obtenir la version de Git :
`git --version`

View file

@ -11,7 +11,7 @@
- Tampilkan file dengan informasi komit menggunakan alamat surel/[e]mail daripada nama pelaku:
`git annotate -e {{jalan/menuju/file}}`
`git annotate {{-e|--show-email}} {{jalan/menuju/file}}`
- Tampilkan hanya baris-baris teks yang memenuhi kriteria ekspresi reguler:

View file

@ -5,24 +5,24 @@
- Buat sebuah arsip tar berisikan isi dari tree HEAD saat ini, kemudian tampilkan isi file arsip mentah menuju `stdout`:
`git archive --verbose HEAD`
`git archive {{-v|--verbose}} HEAD`
- Buat sebuah arsip zip dari tree HEAD saat ini, kemudian tampilkan isi file arsip mentah menuju `stdout`:
`git archive --verbose --format zip HEAD`
`git archive {{-v|--verbose}} --format zip HEAD`
- Lakukan hal yang sama, namun simpan arsip zip ke dalam suatu direktori:
`git archive --verbose --output {{jalan/menuju/file.zip}} HEAD`
`git archive {{-v|--verbose}} {{-o|--output}} {{jalan/menuju/file.zip}} HEAD`
- Buat arsip tar dari komit terakhir pada cabang tertentu:
`git archive --output {{jalan/menuju/file.tar}} {{nama_cabang}}`
`git archive {{-o|--output}} {{jalan/menuju/file.tar}} {{nama_cabang}}`
- Buat arsip tar berdasaran subdirektori tertentu pada suatu repositori Git:
`git archive --output {{jalan/menuju/file.tar}} HEAD:{{jalan/menuju/direktori}}`
`git archive {{-o|--output}} {{jalan/menuju/file.tar}} HEAD:{{jalan/menuju/direktori}}`
- Bubuhkan nama jalur pada awal nama setiap file, untuk diarsipkan di dalam direktori tertentu:
`git archive --output {{jalan/menuju/file.tar}} --prefix {{jalan/untuk/dibubuhkan}}/ HEAD`
`git archive {{-o|--output}} {{jalan/menuju/file.tar}} --prefix {{jalan/untuk/dibubuhkan}}/ HEAD`

View file

@ -9,7 +9,7 @@
- Tampilkan berkas dengan informasi komit menggunakan alamat surel/[e]mail daripada nama pelaku:
`git blame -e {{jalan/menuju/berkas}}`
`git blame {{-e|--show-email}} {{jalan/menuju/berkas}}`
- Tampilkan informasi nama pelaku dan kode hash komit terakhir pada berkas yang disimpan dalam komit tertentu:

View file

@ -25,11 +25,11 @@
- Ubah nama cabang (harus bukan cabang saat ini untuk melakukannya):
`git branch -m {{nama_cabang_lama}} {{nama_cabang_baru}}`
`git branch {{-m|--move}} {{nama_cabang_lama}} {{nama_cabang_baru}}`
- Hapus cabang lokal (harus bukan cabang saat ini untuk melakukannya):
`git branch -d {{nama_cabang}}`
`git branch {{-d|--delete}} {{nama_cabang}}`
- Hapus cabang remote:

View file

@ -9,8 +9,8 @@
- Buat berkas laporan pada direktori tertentu, dan buat direktori tersebut jika belum:
`git bugreport --output-directory {{jalan/menuju/direktori}}`
`git bugreport {{-o|--output-directory}} {{jalan/menuju/direktori}}`
- Buat berkas laporan baru, dengan nama berkas diakhiri dengan tanggal pelaporan menurut format `strftime`:
`git bugreport --suffix {{%m%d%y}}`
`git bugreport {{-s|--suffix}} {{%m%d%y}}`

View file

@ -13,11 +13,11 @@
- Bungkus objek dan referensi untuk lima komit terakhir pada cabang saat ini:
`git bundle create {{jalan/menuju/berkas.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{jalan/menuju/berkas.bundle}} -5 {{HEAD}}`
- Bungkus objek dan referensi untuk perubahan sejak 7 hari terakhir:
`git bundle create {{jalan/menuju/berkas.bundle}} --since {{7.days}} {{HEAD}}`
`git bundle create {{jalan/menuju/berkas.bundle}} --since 7.days {{HEAD}}`
- Cek apakah suatu berkas bundle bersifat valid dan dapat diaplikasikan ke dalam repositori saat ini:

View file

@ -5,7 +5,7 @@
- Lihat daftar komit (beserta pesannya) dengan komit-komit serupa pada hulu (upstream):
`git cherry -v`
`git cherry {{-v|--verbose}}`
- Gunakan sumber hulu dan cabang topik yang lain:

View file

@ -5,24 +5,24 @@
- Crea un archivio tar del contenuto in HEAD e stampa il risultato su standard output:
`git archive --verbose HEAD`
`git archive {{-v|--verbose}} HEAD`
- Crea un archivio zip del contenuto in HEAD e stampa il risultato su standard output:
`git archive --verbose --format zip HEAD`
`git archive {{-v|--verbose}} --format zip HEAD`
- Come sopra, ma scrivi l'archivio zip su file:
`git archive --verbose --output {{percorso/del/file.zip}} HEAD`
`git archive {{-v|--verbose}} {{-o|--output}} {{percorso/del/file.zip}} HEAD`
- Crea un archivio tar dell'ultimo commit sul ramo specificato:
`git archive --output {{percorso/del/file.tar}} {{nome_ramo}}`
`git archive {{-o|--output}} {{percorso/del/file.tar}} {{nome_ramo}}`
- Crea un archivio tar del contenuto di una specifica directory:
`git archive --output {{percorso/del/file.tar}} HEAD:{{percorso/della/directory}}`
`git archive {{-o|--output}} {{percorso/del/file.tar}} HEAD:{{percorso/della/directory}}`
- Anteponi un percorso ad ogni file cosí da archiviarlo in una directory specifica:
`git archive --output {{percorso/del/file.tar}} --prefix {{percorso/da/anteporre}}/ HEAD`
`git archive {{-o|--output}} {{percorso/del/file.tar}} --prefix {{percorso/da/anteporre}}/ HEAD`

View file

@ -9,4 +9,4 @@
- Stampa il contenuto di un file annotando ogni riga con l'hash del commit e l'indirizzo email dell'autore:
`git blame -e {{file}}`
`git blame {{-e|--show-email}} {{file}}`

View file

@ -21,8 +21,8 @@
- Rinomina un ramo (non applicabile sul ramo corrente):
`git branch -m {{vecchio_nome}} {{nuovo_nome}}`
`git branch {{-m|--move}} {{vecchio_nome}} {{nuovo_nome}}`
- Cancella un ramo locale (non applicabile sul ramo corrente):
`git branch -d {{nome_ramo}}`
`git branch {{-d|--delete}} {{nome_ramo}}`

View file

@ -13,11 +13,11 @@
- Crea un file bundle degli ultimi 5 commit sul ramo corrente:
`git bundle create {{percorso/del/file.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{percorso/del/file.bundle}} -5 {{HEAD}}`
- Crea un file bundle degli ultimi 7 giorni:
`git bundle create {{percorso/del/file.bundle}} --since={{7.days}} {{HEAD}}`
`git bundle create {{percorso/del/file.bundle}} --since=7.days {{HEAD}}`
- Verifica che un file bundle sia valido e possa essere applicato al repository in uso:

View file

@ -14,7 +14,7 @@
- Applica un insieme di commit non sequenziali al ramo corrente:
`git cherry-pick {{commit_1}} {{commit_2}}`
`git cherry-pick {{commit_1 commit_2 ...}}`
- Aggiungi le modifiche introdotte da un commit alla directory di lavoro, ma senza creare un nuovo commit:

View file

@ -9,7 +9,7 @@
- Elimina in modo interattivo i file non tracciati da Git:
`git clean -i`
`git clean {{-i|--interactive}}`
- Mostra quali file non tracciati sarebbero eliminati, senza però eliminarli davvero:
@ -17,11 +17,11 @@
- Forza l'eliminazione dei file non tracciati da Git:
`git clean -f`
`git clean {{-f|--force}}`
- Forza l'eliminazione delle directory non tracciate da Git:
`git clean -fd`
`git clean {{-f|--force}} -d`
- Elimina i file non tracciati, compresi quelli da ignorare elencati in `.gitignore` e `.git/info/exclude`:

View file

@ -17,4 +17,4 @@
- Committa solo i file specificati (tra quelli presenti nell'area di stage):
`git commit {{percorso/del/file1}} {{percorso/del/file2}}`
`git commit {{percorso/del/file1 percorso/del/file2 ...}}`

View file

@ -13,7 +13,7 @@
- Cambia l'URL endpoint di Git LFS (utile quando server LFS e server Git sono separati):
`git config -f .lfsconfig lfs.url {{lfs_url_endpoint}}`
`git config {{-f|--file}} .lfsconfig lfs.url {{lfs_url_endpoint}}`
- Elenca i criteri tracciati:

View file

@ -9,7 +9,7 @@
- Mostra la cronologia di un dato file o directory, mostrando anche le modifiche:
`git log -p {{percorso/del/file_o_directory}}`
`git log {{-p|-u|--patch}} {{percorso/del/file_o_directory}}`
- Offri una panoramica dei file che sono cambiati ad ogni commit:
@ -25,12 +25,12 @@
- Mostra solo i commit il cui messaggio contiene una data stringa (ignorando maiuscole/minuscole):
`git log -i --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 {{numero}} --author={{autore}}`
`git log {{-n|--max-count}} {{numero}} --author "{{autore}}"`
- Mostra i commit effettuati tra due date (yyyy-mm-dd):
`git log --before="{{2017-01-29}}" --after="{{2017-01-17}}"`
`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"`

View file

@ -10,7 +10,7 @@
- Avvia un rebase interattivo, che consente di riordinare, omettere, unire o modificare i commit:
`git rebase -i {{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 {{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 theirs {{nome_ramo}}`
`git rebase {{-X|--strategy-option}} theirs {{nome_ramo}}`

View file

@ -13,4 +13,4 @@
- Mostra le ultime 5 voci del reflog:
`git reflog -n {{5}}`
`git reflog {{-n|--max-count}} 5`

View file

@ -5,7 +5,7 @@
- Mostra l'elenco dei collegamenti remoti, con il loro nome e URL:
`git remote -v`
`git remote {{-v|--verbose}}`
- Mostra informazioni su un remote:

View file

@ -9,20 +9,20 @@
- Mostra un riassunto dei commit fatti, ordinati per numero di commit:
`git shortlog -n`
`git shortlog {{-n|--numbered}}`
- Mostra un riassunto dei commit fatti, raggruppati per identità dell'utente che ha eseguito il commit (nome e email):
`git shortlog -c`
`git shortlog {{-c|--committer}}`
- Mostra un riassunto degli ultimi 5 commit (richiesti sottoforma di intervallo di revisione):
`git shortlog HEAD~{{5}}..HEAD`
`git shortlog HEAD~5..HEAD`
- Mostra tutti gli utenti, email e numero di commit nel ramo corrente:
`git shortlog -sne`
`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}}`
- Mostra tutti gli utenti, email e numero di commit in tutti i rami:
`git shortlog -sne --all`
`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}} --all`

View file

@ -9,7 +9,7 @@
- Clona un repository SVN a partire da uno specifico numero di revisione:
`git svn clone -r{{1234}}:HEAD {{https://svn.esempio.net/subversion/repo}} {{directory_locale}}`
`git svn clone {{-r|--revision}} {{1234}}:HEAD {{https://svn.esempio.net/subversion/repo}} {{directory_locale}}`
- Aggiorna una copia locale da un repository SVN remoto:

View file

@ -21,7 +21,7 @@
- 特定のファイル(ステージ済)だけをコミットする:
`git commit {{ファイルパス1}} {{ファイルパス2}}`
`git commit {{ファイルパス1 ファイルパス2 ...}}`
- ステージ済のファイルが無くても、コミットを作る:

View file

@ -4,18 +4,6 @@
> いくつかのサブコマンドがあります。例えば `commit`, `add`, `branch`, `checkout`, `push`, などです。 これらには使用方法についての独自のドキュメントがあり、 `tldr git subcommand` で見ることができます。
> 詳しくはこちら: <https://git-scm.com/>
- Gitのバージョンを確認する:
`git --version`
- Git全体のヘルプを見る:
`git --help`
- Gitのサブコマンドのヘルプを見る (例えば `clone`, `add`, `push`, `log`, など):
`git help {{サブコマンド}}`
- Gitのサブコマンドを実行する:
`git {{サブコマンド}}`
@ -27,3 +15,15 @@
- Gitのサブコマンドを、指定された設定値で実行する:
`git -c '{{config.key}}={{値}}' {{サブコマンド}}`
- Git全体のヘルプを見る:
`git --help`
- Gitのサブコマンドのヘルプを見る (例えば `clone`, `add`, `push`, `log`, など):
`git help {{サブコマンド}}`
- Gitのバージョンを確認する:
`git --version`

View file

@ -9,8 +9,8 @@
- 지정된 디렉토리에 새로운 버그 보고 파일 생성 (디렉토리가 없을 경우 생성됨):
`git bugreport --output-directory {{경로/대상/폴더}}`
`git bugreport {{-o|--output-directory}} {{경로/대상/폴더}}`
- `strftime` 형식의 지정된 파일명 접미사를 사용하여 새로운 버그 보고 파일 생성:
`git bugreport --suffix {{%m%d%y}}`
`git bugreport {{-s|--suffix}} {{%m%d%y}}`

View file

@ -13,11 +13,11 @@
- 현재 브랜치의 마지막 5개의 커밋을 포함하는 번들 파일 생성:
`git bundle create {{경로/대상/파일.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{경로/대상/파일.bundle}} -5 {{HEAD}}`
- 최근 7일간의 커밋을 포함하는 번들 파일 생성:
`git bundle create {{경로/대상/파일.bundle}} --since {{7.days}} {{HEAD}}`
`git bundle create {{경로/대상/파일.bundle}} --since 7.days {{HEAD}}`
- 번들 파일이 유효하고 현재 저장소에 적용될 수 있는지 확인:

View file

@ -9,7 +9,7 @@
- 변경 사항을 포함해, 특정 파일 또는 디렉토리의 이력 보기:
`git log {{--patch|-p|-u}} {{경로/대상/파일_또는_폴더}}`
`git log {{-p|-u|--patch}} {{경로/대상/파일_또는_폴더}}`
- 각 커밋에서 어떤 파일이 변경되었는지 개요 보기:
@ -29,7 +29,7 @@
- 특정 작성자의 마지막 N개의 커밋 보기:
`git log {{--max-count|-n}} {{개수}} --author "{{작성자}}"`
`git log {{-n|--max-count}} {{개수}} --author "{{작성자}}"`
- 두 날짜(yyyy-mm-dd) 사이의 커밋 보기:

View file

@ -17,7 +17,7 @@
- 마지막 5개의 커밋 요약 보기(즉, 리비전 범위 지정):
`git shortlog HEAD~{{5}}..HEAD`
`git shortlog HEAD~5..HEAD`
- 현재 브랜치에서 모든 사용자, 이메일 및 커밋 수 요약 보기:

View file

@ -4,18 +4,6 @@
> `commit`, `add`, `branch`, `checkout`, `push` 등의 특정 하위 명령어는 고유의 문서가 따로 있습니다. `tldr git subcommand`를 통해 확인할 수 있습니다.
> 더 많은 정보: <https://git-scm.com/>.
- Git 버전 확인:
`git --version`
- 일반 도움말 출력:
`git --help`
- 하위 명령어 도움말 출력 (`clone`, `add`, `push`, `log`, 등등):
`git help {{하위_명렁어}}`
- 하위 명령어 실행:
`git {{하위_명령어}}`
@ -27,3 +15,15 @@
- 주어진 설정으로 Git 하위 명령어 실행:
`git -c '{{설정.키}}={{설정.값}}' {{하위_명령어}}`
- 일반 도움말 출력:
`git --help`
- 하위 명령어 도움말 출력 (`clone`, `add`, `push`, `log`, 등등):
`git help {{하위_명렁어}}`
- Git 버전 확인:
`git --version`

View file

@ -4,18 +4,6 @@
> `commit`, `add`, `branch`, `checkout`, `push` മുതലായ ചില ഉപകമാൻഡുകൾക്ക് അവരുടേതായ ഡോക്യുമെന്റേഷൻ ഉണ്ട്, `tldr git {{ഉപകമാൻഡ്}}` വഴി അവ കാണാൻ കഴിയും.
> കൂടുതൽ വിവരങ്ങൾ: <https://git-scm.com/>.
- നിങ്ങൾ ഉപയോഗിക്കുന്ന ഗിറ്റിന്റെ പതിപ്പ് പരിശോധിക്കാൻ:
`git --version`
- സഹായ നിർദേശങ്ങൾ കാണുവാൻ:
`git --help`
- `clone`, `add`, `push`, `log` പോലുള്ള ഉപകമാൻഡുകളുടെ സഹായ നിർദേശങ്ങൾ കാണുവാൻ:
`git help {{ഉപകമാൻഡ്}}`
- ഗിറ്റ് ഉപകമാന്റുകൾ എക്സിക്യൂട്ട് ചെയ്യുവാൻ:
`git {{ഉപകമാൻഡ്}}`
@ -27,3 +15,15 @@
- ഒരു കോൺഫിഗറേഷൻ സെറ്റ് ഉപയോഗിച്ച് Git ഉപകമാൻഡ് എക്സിക്യൂട്ട് ചെയ്യാൻ:
`git -c '{{കോൺഫിഗ്.പേര്}}={{മൂല്യം}}' {{ഉപകമാൻഡ്}}`
- സഹായ നിർദേശങ്ങൾ കാണുവാൻ:
`git --help`
- `clone`, `add`, `push`, `log` പോലുള്ള ഉപകമാൻഡുകളുടെ സഹായ നിർദേശങ്ങൾ കാണുവാൻ:
`git help {{ഉപകമാൻഡ്}}`
- നിങ്ങൾ ഉപയോഗിക്കുന്ന ഗിറ്റിന്റെ പതിപ്പ് പരിശോധിക്കാൻ:
`git --version`

View file

@ -25,11 +25,11 @@
- Renomeia uma branch (não precisa fazer checkout para isso):
`git branch -m {{antigo_nome_da_branch}} {{novo_nome_da_branch}}`
`git branch {{-m|--move}} {{antigo_nome_da_branch}} {{novo_nome_da_branch}}`
- Exclui a branch local (não precisa fazer checkout para isso):
`git branch -d {{nome_da_branch}}`
`git branch {{-d|--delete}} {{nome_da_branch}}`
- Exclui uma branch remota:

View file

@ -25,7 +25,7 @@
- Faz um commit apenas de arquivos específicos (já preparados):
`git commit {{caminho/para/arquivo1}} {{caminho/para/arquivo2}}`
`git commit {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}`
- Cria um commit, mesmo se não haja arquivos preparados:

View file

@ -9,7 +9,7 @@
- Mostra o histórico de um arquivo ou diretório determinado, incluindo diferenças:
`git log -p {{caminho/para/arquivo_ou_diretório}}`
`git log {{-p|-u|--patch}} {{caminho/para/arquivo_ou_diretório}}`
- Mostra uma visão geral do(s) arquivo(s) alterado(s) em cada commit:
@ -25,12 +25,12 @@
- Mostra apenas os commits cujas mensagem incluem uma determinada cadeia de caracteres (sem distinção entre maiúsculas e minúsculas):
`git log -i --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 {{número}} --author={{autor}}`
`git log {{-n|--max-count}} {{número}} --author "{{autor}}"`
- Mostra os commits entre duas datas(aaaa-mm-dd):
`git log --before="{{2017-01-29}}" --after="{{2017-01-17}}"`
`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"`

View file

@ -10,7 +10,7 @@
- Inicia um rebase interativo, que permite os commits serem reordenados, omitidos, combinados ou modificados:
`git rebase -i {{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 {{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 theirs {{nome_da_branch}}`
`git rebase {{-X|--strategy-option}} theirs {{nome_da_branch}}`

View file

@ -5,7 +5,7 @@
- Mostre uma lista de remotes existentes, seus nomes e URL:
`git remote -v`
`git remote {{-v|--verbose}}`
- Mostra infomação de um remote específico:

View file

@ -4,18 +4,6 @@
> Alguns subcomandos como `commit` tem sua própia documentação de uso.
> Mais informações: <https://git-scm.com/>.
- Verifique a versão do Git:
`git --version`
- Mostre ajuda geral:
`git --help`
- Mostre ajuda de um subcomando do Git (como `commit`, `log`, etc.):
`git help {{subcomando}}`
- Execute um subcomando Git:
`git {{subcomando}}`
@ -27,3 +15,15 @@
- Execute um subcomando Git com uma dada configuração:
`git -c '{{config.chave}}={{valor}}' {{subcomando}}`
- Mostre ajuda geral:
`git --help`
- Mostre ajuda de um subcomando do Git (como `commit`, `log`, etc.):
`git help {{subcomando}}`
- Verifique a versão do Git:
`git --version`

View file

@ -4,18 +4,6 @@
> Neke podkomande kao što je `git commit` imaju svoj primer u dokumentaciji.
> Više informacija na: <https://git-scm.com/>.
- Proverava Git verziju:
`git --version`
- Prikazuje opštu pomoć:
`git --help`
- Prikazuje pomoć o Git podkomandi (npr. `commit`, `log`, itd.):
`git help {{podkomanda}}`
- Izvršava Git podkomandu:
`git {{podkomanda}}`
@ -27,3 +15,15 @@
- Izvršava Git podkomandu sa zadatim setom konfiguracija:
`git -c '{{config.key}}={{value}}' {{podkomanda}}`
- Prikazuje opštu pomoć:
`git --help`
- Prikazuje pomoć o Git podkomandi (npr. `commit`, `log`, itd.):
`git help {{podkomanda}}`
- Proverava Git verziju:
`git --version`

View file

@ -13,11 +13,11 @@
- தற்போதைய கிளையின் கடைசி 5 கமிட்டுகளின் மூட்டை கோப்பை உருவாக்கவும்:
`git bundle create {{கோப்பு.bundle/பாதை}} -{{5}} {{HEAD}}`
`git bundle create {{கோப்பு.bundle/பாதை}} -5 {{HEAD}}`
- சமீபத்திய 7 நாட்களின் மூட்டை கோப்பை உருவாக்கவும்:
`git bundle create {{கோப்பு.bundle/பாதை}} --since={{7.days}} {{HEAD}}`
`git bundle create {{கோப்பு.bundle/பாதை}} --since=7.days {{HEAD}}`
- ஒரு மூட்டை கோப்பு தற்போதைய களஞ்சியத்தில் செல்லுபடியாகும் மற்றும் பயன்படுத்தலாம் என்பதை சரிபார்க்கவும்:

View file

@ -11,4 +11,4 @@
- Bir dosyayı, her satırında son commit değeri ve yazarının [e]-postası bulunacak şekilde göster:
`git annotate -e {{örnek/dosya}}`
`git annotate {{-e|--show-email}} {{örnek/dosya}}`

View file

@ -5,24 +5,24 @@
- Mevcut HEAD'deki içerik ile bir tar arşivi oluştur ve içeriği standart çıktı biçiminde göster:
`git archive --verbose HEAD`
`git archive {{-v|--verbose}} HEAD`
- Mevcut HEAD'deki içerik ile bir zip arşivi oluştur ve içeriği standart çıktı biçiminde göster:
`git archive --verbose --format zip HEAD`
`git archive {{-v|--verbose}} --format zip HEAD`
- Yukarıda yazan madde ile aynı şeyi yap, ama zip arşivini belirtilen dosya olarak yaz:
`git archive --verbose --output {{örnek/arşiv/dosyası.zip}} HEAD`
`git archive {{-v|--verbose}} {{-o|--output}} {{örnek/arşiv/dosyası.zip}} HEAD`
- Belirtilmiş bir daldaki son commitlerin içeriğinden bir tar arşivi oluştur:
`git archive --output {{örnek/arşiv/dosyası.tar}} {{dal_ismi}}`
`git archive {{-o|--output}} {{örnek/arşiv/dosyası.tar}} {{dal_ismi}}`
- Belirtilmiş bir dizindeki içeriklerden tar arşivi oluştur:
`git archive --output {{örnek/arşiv/dosyası.tar}} HEAD:{{örnek/dizin}}`
`git archive {{-o|--output}} {{örnek/arşiv/dosyası.tar}} HEAD:{{örnek/dizin}}`
- Bir takım dosyayı belirtilmiş bir dizinin içinde arşivlemek için başlarına yol ekle:
`git archive --output {{örnek/arşiv/dosyası.tar}} --prefix {{başlarına/yol/eklenecek/dosyalar}}/ HEAD`
`git archive {{-o|--output}} {{örnek/arşiv/dosyası.tar}} --prefix {{başlarına/yol/eklenecek/dosyalar}}/ HEAD`

View file

@ -9,4 +9,4 @@
- Bir dosyayı, her satırında son commit değeri ve yazarının e-postası bulunacak şekilde göster:
`git blame -e {{örnek/dosya}}`
`git blame {{-e|--show-email}} {{örnek/dosya}}`

View file

@ -21,11 +21,11 @@
- Bir dalı yeniden adlandır:
`git branch -m {{eski_dal_ismi}} {{yeni_dal_ismi}}`
`git branch {{-m|--move}} {{eski_dal_ismi}} {{yeni_dal_ismi}}`
- Yerel bir dalı sil:
`git branch -d {{dal_ismi}}`
`git branch {{-d|--delete}} {{dal_ismi}}`
- Uzaktaki bir dalı sil:

View file

@ -9,8 +9,8 @@
- Belirtilen dizinde yeni bir hata rapor dosyası oluştur:
`git bugreport --output-directory {{örnek/dizin}}`
`git bugreport {{-o|--output-directory}} {{örnek/dizin}}`
- `strftime` formatında belirtilmiş bir dosya adı ekiyle yeni bir rapor dosyası oluştur:
`git bugreport --suffix {{%m%d%y}}`
`git bugreport {{-s|--suffix}} {{%m%d%y}}`

View file

@ -13,11 +13,11 @@
- Mevcut daldaki en son 5 commit için bir paket dosyası oluştur:
`git bundle create {{örnek/dosya.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{örnek/dosya.bundle}} -5 {{HEAD}}`
- Son 7 günü içeren bir paket dosyası oluştur:
`git bundle create {{örnek/dosya.bundle}} --since={{7.days}} {{HEAD}}`
`git bundle create {{örnek/dosya.bundle}} --since=7.days {{HEAD}}`
- Bir paket dosyasının geçerli olduğunu ve mevcut depoya uygulanabileceğini doğrula:

View file

@ -14,7 +14,7 @@
- Mevcut dala birçok (ardışık olmayan) commit uygula:
`git cherry-pick {{commit_1}} {{commit_2}}`
`git cherry-pick {{commit_1 commit_2 ...}}`
- Bir commit'in değişikliklerini, herhangi bir yeni commit oluşturmadan çalışan dizine ekle:

View file

@ -5,7 +5,7 @@
- Commit'leri (ve mesajlarını) ana akımda kendilerine tekabül eden commit'ler ile göster:
`git cherry -v`
`git cherry {{-v|--verbose}}`
- Farklı bir ana akım ve konu dalı belirt:

View file

@ -9,7 +9,7 @@
- Git tarafından takip edilmeyen dosyaları etkileşimli bir nizamda sil:
`git clean -i`
`git clean {{-i|--interactive}}`
- Hangi dosyaların silinmeye aday olduğunu onları silmeden göster:
@ -17,11 +17,11 @@
- Git tarafından takip edilmeyen dosyaları zorla zil:
`git clean -f`
`git clean {{-f|--force}}`
- Git tarafından takip edilmeyen dizinleri zorla zil:
`git clean -fd`
`git clean {{-f|--force}} -d`
- `.gitignore` ve `.git/info/exclude`'deki yoksayılan dosyalar dahiş olmak üzere takip edilmeyen dosyaları sil:

View file

@ -17,4 +17,4 @@
- Yalnızca belirtilmiş (halihazırda sahnelenmiş) dosyaları commit'le:
`git commit {{örnek/dosya1}} {{örnek/dosya2}}`
`git commit {{örnek/dosya1 örnek/dosya2 ...}}`

View file

@ -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 .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:

View file

@ -9,7 +9,7 @@
- Belirtilen dosya veya dizinin tarihini farklılıklarla beraber göster:
`git log -p {{dosya/veya/dizin/konumu}}`
`git log {{-p|-u|--patch}} {{dosya/veya/dizin/konumu}}`
- Her bir commit'de hangi dosya(lar)ın değiştiğinin önizlemesini göster:
@ -25,12 +25,12 @@
- Mesajları yalnızca belirtilen ifadeleri içeren commit'leri göster (büyük-küçük harfe duyarsız):
`git log -i --grep {{aranan_ifade}}`
`git log {{-i|--regexp-ignore-case}} --grep {{aranan_ifade}}`
- Belirtilmiş yazardan gelen, belirtilen sayıda commit göster:
`git log -n {{sayı}} --author={{yazar}}`
`git log {{-n|--max-count}} {{sayı}} --author "{{yazar}}"`
- İki tarih arasında yapılmış commit'leri göster:
`git log --before="{{tarih}}" --after="{{tarih}}"`
`git log --before "{{tarih}}" --after "{{tarih}}"`

View file

@ -9,7 +9,7 @@
- Birleştirme mesajını düzenle:
`git merge -e {{dal_ismi}}`
`git merge {{-e|--show-email}} {{dal_ismi}}`
- Bir dalı birleştir ve birleştirme commit'i oluştur:

View file

@ -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 {{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 {{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 theirs {{dal_ismi}}`
`git rebase {{-X|--strategy-option}} theirs {{dal_ismi}}`

View file

@ -13,4 +13,4 @@
- Referans kaydında sadece son 5 değişimi göster:
`git reflog -n {{5}}`
`git reflog {{-n|--max-count}} 5`

View file

@ -5,7 +5,7 @@
- Varolan uzak bağlantıların isim ve URL'leriyle bir listesini göster:
`git remote -v`
`git remote {{-v|--verbose}}`
- Uzak bağlantı ile ilgili bilgi göster:

View file

@ -9,20 +9,20 @@
- Yapılan tüm commit'lerin en çok commit yapan yazar ismi en üstte olacak şekilde özetini göster:
`git shortlog -n`
`git shortlog {{-n|--numbered}}`
- Yapılan tüm commit'lerin yazar bilgilerini (isim ve e-posta) gösterecek şekilde özetini göster:
`git shortlog -c`
`git shortlog {{-c|--committer}}`
- En son yapılan 5 commit'in özetini göster (sürüm aralığı belirt):
`git shortlog HEAD~{{5}}..HEAD`
`git shortlog HEAD~5..HEAD`
- Mevcut daldaki tüm kullanıcıları, e-postalarını ve yaptıkları commit sayısını göster:
`git shortlog -sne`
`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}}`
- Tüm dallardaki tüm kullanıcıları, e-postalarını ve yaptıkları commit sayısını göster:
`git shortlog -sne --all`
`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}} --all`

View file

@ -9,7 +9,7 @@
- Bir SVN deposunu belirtilen düzenleme numarasından başlayarak klonla:
`git svn clone -r{{1234}}:HEAD {{https://svn.ornek.net/altsürüm/depo}} {{yerel_dizin}}`
`git svn clone {{-r|--revision}} {{1234}}:HEAD {{https://svn.ornek.net/altsürüm/depo}} {{yerel_dizin}}`
- Uzak SVN deposundan yerel klonu güncelle:

View file

@ -3,18 +3,6 @@
> Dağıtım sürüö kontrol sistemi.
> Daha fazla bilgi için: <https://git-scm.com/>.
- Git sürümünü kontrol et:
`git --version`
- Genel yardım sayfasını görüntüle:
`git --help`
- Bir Git alt komutu (`commit`, `log` gibi) için yardım sayfasını görüntüle:
`git help {{alt_komut}}`
- Bit Git alt komutunu çalıştır:
`git {{alt_komut}}`
@ -26,3 +14,15 @@
- Bir Git alt komutunu belirtilen biçimlendirmeye uygun olarak çalıştır:
`git -c '{{config.key}}={{değer}}' {{alt_komut}}`
- Genel yardım sayfasını görüntüle:
`git --help`
- Bir Git alt komutu (`commit`, `log` gibi) için yardım sayfasını görüntüle:
`git help {{alt_komut}}`
- Git sürümünü kontrol et:
`git --version`

View file

@ -21,7 +21,7 @@
- Комітить тільки певні (вже індексовані) файли:
`git commit {{шлях/до/файлу1}} {{шлях/до/файлу2}}`
`git commit {{шлях/до/файлу1 шлях/до/файлу2 ...}}`
- Створює коміт, навіть якщо немає жодного індексованого файлу:

View file

@ -9,7 +9,7 @@
- Редагує повідомлення при злитті гілок:
`git merge -e {{назва_гілки}}`
`git merge {{-e|--show-email}} {{назва_гілки}}`
- Зливає гілки і створює комміт злиття:

View file

@ -4,18 +4,6 @@
> Деякі команди, як от `git commit`, мають свою власну документацію.
> Більше інформації: <https://git-scm.com/>.
- Перевіряє версію Git:
`git --version`
- Показує базову допомогу:
`git --help`
- Показує допомогу з певної підкоманди Git (наприклад, `commit`, `log` чи іншої):
`git help {{підкоманда}}`
- Виконує підкоманду Git:
`git {{підкоманда}}`
@ -27,3 +15,15 @@
- Виконує команду Git із вказаними параметрами:
`git -c '{{config.key}}={{значення}}' {{підкоманда}}`
- Показує базову допомогу:
`git --help`
- Показує допомогу з певної підкоманди Git (наприклад, `commit`, `log` чи іншої):
`git help {{підкоманда}}`
- Перевіряє версію Git:
`git --version`

View file

@ -9,7 +9,7 @@
- 查看指定文件或指定目录的历史,包括每次提交所引入的差异:
`git log -p {{路径/到/文件或目录}}`
`git log {{-p|-u|--patch}} {{路径/到/文件或目录}}`
- 显示每次提交的文件修改统计信息:
@ -25,12 +25,12 @@
- 查看提交消息中包含特定字符串(大小写敏感)的提交:
`git log -i --grep {{字符串}}`
`git log {{-i|--regexp-ignore-case}} --grep {{字符串}}`
- 查看特定作者的最近 N 条提交:
`git log -n {{数字}} --author={{作者}}`
`git log {{-n|--max-count}} {{数字}} --author "{{作者}}"`
- 查看两个日期之间的提交(yyyy-mm-dd):
`git log --before="{{2017-01-29}}" --after="{{2017-01-17}}"`
`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"`

View file

@ -10,7 +10,7 @@
- 启动交互式的合并任务,允许对提交的内容进行重新排序、省略、合并或修改:
`git rebase -i {{目标分支或 commit 的 hash}}`
`git rebase {{-i|--interactive}} {{目标分支或 commit 的 hash}}`
- 处理完冲突文件后,继续执行合并任务:
@ -30,8 +30,8 @@
- 启动交互式的合并任务,对最近提交的 5 个 commits 进行重新排序、省略、合并或修改:
`git rebase -i {{HEAD~5}}`
`git rebase {{-i|--interactive}} {{HEAD~5}}`
- 以当前分支优先的策略,自动处理分支间的冲突,执行合并:
`git rebase -X theirs {{分支名称}}`
`git rebase {{-X|--strategy-option}} theirs {{分支名称}}`

View file

@ -5,7 +5,7 @@
- 列出已经存在的远程仓库,包括它们的名字和 URL:
`git remote -v`
`git remote {{-v|--verbose}}`
- 查看某个远程仓库的信息:

View file

@ -4,18 +4,6 @@
> 类似如 `commit`、`add`、`branch`、`checkout`、`push` 等子命令都有自己的使用文档,可以通过 `tldr git {{子命令}}` 的形式查阅。
> 更多信息:<https://git-scm.com/>.
- 检查 git 的版本号:
`git --version`
- 显示帮助文档:
`git --help`
- 显示 git 子命令的详细帮助文档(如 `clone`, `add`, `push`, `log` 等子命令):
`git help {{子命令}}`
- 执行 git 的子命令:
`git {{子命令}}`
@ -27,3 +15,15 @@
- 在给定参数条件下,执行 git 的子命令:
`git -c '{{配置项}}={{值}}' {{子命令}}`
- 显示帮助文档:
`git --help`
- 显示 git 子命令的详细帮助文档(如 `clone`, `add`, `push`, `log` 等子命令):
`git help {{子命令}}`
- 检查 git 的版本号:
`git --version`

View file

@ -9,8 +9,8 @@
- Create a new bug report file in the specified directory, creating it if it does not exist:
`git bugreport --output-directory {{path/to/directory}}`
`git bugreport {{-o|--output-directory}} {{path/to/directory}}`
- Create a new bug report file with the specified filename suffix in `strftime` format:
`git bugreport --suffix {{%m%d%y}}`
`git bugreport {{-s|--suffix}} {{%m%d%y}}`

View file

@ -13,11 +13,11 @@
- Create a bundle file of the last 5 commits of the current branch:
`git bundle create {{path/to/file.bundle}} -{{5}} {{HEAD}}`
`git bundle create {{path/to/file.bundle}} -5 {{HEAD}}`
- Create a bundle file of the latest 7 days:
`git bundle create {{path/to/file.bundle}} --since {{7.days}} {{HEAD}}`
`git bundle create {{path/to/file.bundle}} --since 7.days {{HEAD}}`
- Verify that a bundle file is valid and can be applied to the current repository:

View file

@ -9,7 +9,7 @@
- Show the history of a particular file or directory, including differences:
`git log {{--patch|-p|-u}} {{path/to/file_or_directory}}`
`git log {{-p|-u|--patch}} {{path/to/file_or_directory}}`
- Show an overview of which file(s) changed in each commit:
@ -29,7 +29,7 @@
- Show the last N number of commits from a certain author:
`git log {{--max-count|-n}} {{number}} --author "{{author}}"`
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
- Show commits between two dates (yyyy-mm-dd):

View file

@ -17,7 +17,7 @@
- View a summary of the last 5 commits (i.e. specify a revision range):
`git shortlog HEAD~{{5}}..HEAD`
`git shortlog HEAD~5..HEAD`
- View all users, emails and the number of commits in the current branch: