mirror of
https://github.com/git-tips/tips.git
synced 2024-09-21 00:01:03 +02:00
Import form a bundle
This commit is contained in:
parent
ebd7521a49
commit
c0faf65fc9
|
@ -60,6 +60,7 @@
|
||||||
* [Adding a project to repo using subtree](https://github.com/git-tips/tips#adding-a-project-to-repo-using-subtree)
|
* [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)
|
* [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)
|
* [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)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
|
@ -425,5 +426,10 @@ git subtree pull --prefix=<directory_name>/<project_name> --squash git@github.co
|
||||||
git bundle create <file> <branch-name>
|
git bundle create <file> <branch-name>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Import form a bundle
|
||||||
|
```sh
|
||||||
|
git clone repo.bundle <repo-dir> -b <branch-name>
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
|
|
@ -239,5 +239,9 @@
|
||||||
{
|
{
|
||||||
"title": "Export a branch with history to the a file.",
|
"title": "Export a branch with history to the a file.",
|
||||||
"tip": "git bundle create <file> <branch-name>"
|
"tip": "git bundle create <file> <branch-name>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Import form a bundle",
|
||||||
|
"tip": "git clone repo.bundle <repo-dir> -b <branch-name>"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user