Hi gentlemen,
I'm a newbie at working with Git, and having trouble setting up my git workflow. Trying to follow these instructions: http://joemaller.com/990/a-web-focused-git-workflow/ combined with this git flow branching model: http://nvie.com/posts/a-successful-git-branching-model/, but cannot figure out how to adapt the web focused model referenced above to add a separation for a staging and live sites on the server. Tried the suggestion here: http://joemaller.com/990/a-web-focused-git-workflow/#comment-473607185, with the post-update hook in place, but it doesn't work. Ie, whether I push from my local develop or master branch, the changes are sent to live (instead of pushing to dev sending changes to staging).
Google search and StackOverflow haven't helped, nor have any of the Git reference sites I've found.
I'm hoping there are some Git experts in the room who can help. I'm happy to compensate you for your time. You can email me directly at info@genevievelajoie.net.
Thank you.
I'm a newbie at working with Git, and having trouble setting up my git workflow. Trying to follow these instructions: http://joemaller.com/990/a-web-focused-git-workflow/ combined with this git flow branching model: http://nvie.com/posts/a-successful-git-branching-model/, but cannot figure out how to adapt the web focused model referenced above to add a separation for a staging and live sites on the server. Tried the suggestion here: http://joemaller.com/990/a-web-focused-git-workflow/#comment-473607185, with the post-update hook in place, but it doesn't work. Ie, whether I push from my local develop or master branch, the changes are sent to live (instead of pushing to dev sending changes to staging).
Google search and StackOverflow haven't helped, nor have any of the Git reference sites I've found.
I'm hoping there are some Git experts in the room who can help. I'm happy to compensate you for your time. You can email me directly at info@genevievelajoie.net.
Thank you.