Re: Bug#753962: ITP: ghp-import -- Easily import docs to your gh-pages branch
On Sunday, July 06, 2014 07:14:49 PM Andrew Starr-Bochicchio wrote:
> Inside your repository just run `ghp-import $DOCS_DIR` where $DOCS_DIR
> is the path to the built documentation. This will write a commit to your
> gh-pages branch with the current documents in it.
> While I'm no fan of license proliferation, the Tumbolia Public License
> seems to meet the requitements of the DFSG.
Having a quick look at the code of ghp-import it seems to me that I can easily
replace it with a shell two-liner in my projects makefile. I'd much more
welcome an addition to the packages git-extras or git-stuff which could do:
- prepare a git-tree from a directory with all objects written to the object
- commit this tree to a branch that is not currently checked out
- A combined command of the above two.
Both actions must not touch the index.
Regards, Thomas Koch