File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
67
67
* [ Deploying git tracked subfolder to gh-pages] ( #deploying-git-tracked-subfolder-to-gh-pages )
68
68
* [ Adding a project to repo using subtree] ( #adding-a-project-to-repo-using-subtree )
69
69
* [ Get latest changes in your repo for a linked project using subtree] ( #get-latest-changes-in-your-repo-for-a-linked-project-using-subtree )
70
- * [ Export a branch with history to the a file.] ( #export-a-branch-with-history-to-the -a-file )
70
+ * [ Export a branch with history to a file.] ( #export-a-branch-with-history-to-a-file )
71
71
* [ Import from a bundle] ( #import-from-a-bundle )
72
72
* [ Get the name of current branch.] ( #get-the-name-of-current-branch )
73
73
* [ Ignore one file on commit (e.g. Changelog).] ( #ignore-one-file-on-commit-eg-changelog )
@@ -506,7 +506,7 @@ git subtree add --prefix=<directory_name>/<project_name> --squash
[email protected]
506
506
git subtree pull --prefix=
< directory_name
> /
< project_name
> --squash
[email protected] :
< username
> /
< project_name
> .git master
507
507
```
508
508
509
- ## Export a branch with history to the a file.
509
+ ## Export a branch with history to a file.
510
510
``` sh
511
511
git bundle create < file> < branch-name>
512
512
```
Original file line number Diff line number Diff line change 200
200
"title" : " Get latest changes in your repo for a linked project using subtree" ,
201
201
"tip" :
" git subtree pull --prefix=<directory_name>/<project_name> --squash [email protected] :<username>/<project_name>.git master"
202
202
}, {
203
- "title" : " Export a branch with history to the a file." ,
203
+ "title" : " Export a branch with history to a file." ,
204
204
"tip" : " git bundle create <file> <branch-name>"
205
205
}, {
206
206
"title" : " Import from a bundle" ,
You can’t perform that action at this time.
0 commit comments