I recently started to use git and I'm having an issue. For example, everyone recommends to use as much branches as possible, but how do I make visible multiple branches on a staging server for my client to review all changes I have done in a single go? I do know that I can merge back branches to development (and then into master for live deployment), but how can I deploy all branches under development, so that client can see all the changes at once? I did update post-receive code to move the actual code to proper working directory and it also switches to latest branch pushed, but that's not a solution, I want to see all of them and when the time comes for pushing to live, I should be able to select which ones to push and which ones not (clients sometimes do not like new features or changes done ...).
Any recommendations? Is git even capable of what I'm trying to achieve?
John-new-featureand rely on his intelligence, not git. You can write a post-whatever script that will connect VMWare and setup a new machine, but it will be your script, your tool. Not git.