On Wed, May 21, 2014 at 9:08 AM, Bob Hiestand <bob.hiest...@gmail.com> wrote:
> It seems strange to use git (or other VCS) to store build products.

Seems so, but Heroku, openshift, etc., all accept or require runnable
apps to be git pushed. I don't want build products in the dev src
tree, of course, only the branch to be pushed. And thus the finagling
to get a deploy branch that mirrors the src, but with build products.

> You can get a little more fancy if you want to reference the src branch as a
> parent, by replacing the commit with something like the following:
> TREE=$(git write-tree) && COMMIT=$(git commit-tree $TREE -p dst -p src -m
> "commit message") && git update-ref HEAD $COMMIT && git update-index
> --refresh

Thanks, I've been reading through the plumbing, playing around to see
how to construct what I want, I'll try something like the above.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to