On Feb 25, 12:16 pm, Paul Miller <[email protected]> wrote: > On Feb 25, 1:22 pm, Jeremiah Dodds <[email protected]> wrote: > > > What about a submodule? http://book.git-scm.com/5_submodules.html > > Personally, I'm rarely interested in keeping the deltas on autogen > pages... > > I've been using something like this in my makefile (similar anyway, > the below is not tested): > > git checkout -b _docs > git add -f doc-directory > git commit -m docs > git filter-branch --prune-empty --subdirectory-filter doc-directory > git symbolic-ref HEAD refs/heads/gh-pages > git push github -f _docs:gh-pages > git checkout master > git branch -D _docs
I wrote this for gh-pages without history: https://github.com/dustin/bindir/blob/master/git-baseless-commit -- You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/github?hl=en.
