[git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-12 Thread Tom Alon
I use one repo with develop and release branches for a Yeoman project. Simplified, my directory tree looks like this: root git directory ├── app └── dist (the build folder) With Grunt.js I build my app straight into dist. I would like to use git subtree push --prefix dist origin release

Re: [git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-15 Thread Tom Alon
Thank you very much :) On Tue, Oct 15, 2013 at 7:28 PM, William Seiti Mizuta < william.miz...@gmail.com> wrote: > I think that you can use a hook instead of sending the dist folder. > > Send the app folder and then you run your grunt task in a remote hook. You > can read more about server side