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

That way there's really only ever one commit in my gh-pages and I can
build it from my makefile

-- 
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 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to