On Feb 25, 12:16 pm, Paul Miller <jett...@gmail.com> wrote:
> On Feb 25, 1:22 pm, Jeremiah Dodds <jeremiah.do...@gmail.com> 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:

You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to github@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to