File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 5656* [ Purnes branches that have been deleted in the remote.] ( https://github.com/git-tips/tips#purnes-branches-that-have-been-deleted-in-the-remote )
5757* [ Retrieve the commit hash of the initial revision.] ( https://github.com/git-tips/tips#retrieve-the-commit-hash-of-the-initial-revision )
5858* [ Visualize the version tree.] ( https://github.com/git-tips/tips#visualize-the-version-tree )
59+ * [ Deploying git tracked subfolder to gh-pages] ( https://github.com/git-tips/tips#deploying-git-tracked-subfolder-to-gh-pages )
5960
6061<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
6162<!-- @doxie.inject end toc -->
@@ -401,5 +402,10 @@ __Alternatives:__
401402gitk --all
402403```
403404
405+ ## Deploying git tracked subfolder to gh-pages
406+ ``` sh
407+ git subtree push --prefix subfolder_name origin gh-pages
408+ ```
409+
404410<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
405411<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 222222 "title" : " Visualize the version tree." ,
223223 "tip" : " git log --pretty=oneline --graph --decorate --all" ,
224224 "alternatives" :[" gitk --all" ]
225+ },
226+ {
227+ "title" : " Deploying git tracked subfolder to gh-pages" ,
228+ "tip" : " git subtree push --prefix subfolder_name origin gh-pages" ,
229+ "alternatives" : " git subtree push --prefix subfolder_name origin branch_name"
225230 }
226231]
You can’t perform that action at this time.
0 commit comments