Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [Deploying git tracked subfolder to gh-pages](#deploying-git-tracked-subfolder-to-gh-pages)
* [Adding a project to repo using subtree](#adding-a-project-to-repo-using-subtree)
* [Get latest changes in your repo for a linked project using subtree](#get-latest-changes-in-your-repo-for-a-linked-project-using-subtree)
* [Export a branch with history to the a file.](#export-a-branch-with-history-to-the-a-file)
* [Export a branch with history to a file.](#export-a-branch-with-history-to-a-file)
* [Import from a bundle](#import-from-a-bundle)
* [Get the name of current branch.](#get-the-name-of-current-branch)
* [Ignore one file on commit (e.g. Changelog).](#ignore-one-file-on-commit-eg-changelog)
Expand Down Expand Up @@ -506,7 +506,7 @@ git subtree add --prefix=<directory_name>/<project_name> --squash git@github.com
git subtree pull --prefix=<directory_name>/<project_name> --squash git@github.com:<username>/<project_name>.git master
```

## Export a branch with history to the a file.
## Export a branch with history to a file.
```sh
git bundle create <file> <branch-name>
```
Expand Down
2 changes: 1 addition & 1 deletion tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"title": "Get latest changes in your repo for a linked project using subtree",
"tip": "git subtree pull --prefix=<directory_name>/<project_name> --squash git@github.com:<username>/<project_name>.git master"
}, {
"title": "Export a branch with history to the a file.",
"title": "Export a branch with history to a file.",
"tip": "git bundle create <file> <branch-name>"
}, {
"title": "Import from a bundle",
Expand Down