From c0faf65fc98a4e834cc64fb6eb9befc3d446cbad Mon Sep 17 00:00:00 2001 From: "Hemanth.HM" Date: Sun, 13 Sep 2015 21:25:07 +0530 Subject: [PATCH] Import form a bundle --- README.md | 6 ++++++ tips.json | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index a62c64f..36cce35 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ * [Adding a project to repo using subtree](https://github.com/git-tips/tips#adding-a-project-to-repo-using-subtree) * [Get latest changes in your repo for a linked project using subtree](https://github.com/git-tips/tips#get-latest-changes-in-your-repo-for-a-linked-project-using-subtree) * [Export a branch with history to the a file.](https://github.com/git-tips/tips#export-a-branch-with-history-to-the-a-file) +* [Import form a bundle](https://github.com/git-tips/tips#import-form-a-bundle) @@ -425,5 +426,10 @@ git subtree pull --prefix=/ --squash git@github.co git bundle create ``` +## Import form a bundle +```sh +git clone repo.bundle -b +``` + diff --git a/tips.json b/tips.json index a30f50d..0e076de 100644 --- a/tips.json +++ b/tips.json @@ -239,5 +239,9 @@ { "title": "Export a branch with history to the a file.", "tip": "git bundle create " + }, + { + "title": "Import form a bundle", + "tip": "git clone repo.bundle -b " } ]