From 9d9d97e08ae8369bfae45057a4a58204955611dc Mon Sep 17 00:00:00 2001 From: Antonin Godard <37036499+antznin@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:24:14 -0700 Subject: [PATCH] git-bundle: add clone example (#13438) Signed-off-by: Antonin Godard --- pages.fr/common/git-bundle.md | 4 ++++ pages/common/git-bundle.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pages.fr/common/git-bundle.md b/pages.fr/common/git-bundle.md index aaec240ac..ebd76a96a 100644 --- a/pages.fr/common/git-bundle.md +++ b/pages.fr/common/git-bundle.md @@ -30,3 +30,7 @@ - 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}}` + +- Créer un nouveau dépôt depuis un empaquetage : + +`git clone {{chemin/vers/fichier.bundle}}` diff --git a/pages/common/git-bundle.md b/pages/common/git-bundle.md index 20d4705ca..48ffed88e 100644 --- a/pages/common/git-bundle.md +++ b/pages/common/git-bundle.md @@ -30,3 +30,7 @@ - Unbundle a specific branch from a bundle file into the current repository: `git pull {{path/to/file.bundle}} {{branch_name}}` + +- Create a new repository from a bundle: + +`git clone {{path/to/file.bundle}}`