git-bundle: add clone example (#13438)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
This commit is contained in:
Antonin Godard
2024-08-14 00:24:14 -07:00
committed by GitHub
parent 185d625765
commit 9d9d97e08a
2 changed files with 8 additions and 0 deletions

View File

@@ -30,3 +30,7 @@
- Extraire une branche spécifique d'un fichier de bundle dans le référentiel actuel : - Extraire une branche spécifique d'un fichier de bundle dans le référentiel actuel :
`git pull {{chemin/vers/fichier.bundle}} {{nom_de_branche}}` `git pull {{chemin/vers/fichier.bundle}} {{nom_de_branche}}`
- Créer un nouveau dépôt depuis un empaquetage :
`git clone {{chemin/vers/fichier.bundle}}`

View File

@@ -30,3 +30,7 @@
- Unbundle a specific branch from a bundle file into the current repository: - Unbundle a specific branch from a bundle file into the current repository:
`git pull {{path/to/file.bundle}} {{branch_name}}` `git pull {{path/to/file.bundle}} {{branch_name}}`
- Create a new repository from a bundle:
`git clone {{path/to/file.bundle}}`