[git-users] Re: website deployment through git

2014-05-30 Thread Pierre-François CLEMENT
The easiest would be to have multiple branches and remotes on your local repo. Something like develop (developing), release (testing) and master (production) should do the trick. I've taken the branch names from Nvie's git-flow branching model

[git-users] Re: How to find out (fast) if a commit is on a _specific_ branch

2014-05-30 Thread Pierre-François CLEMENT
Starting from version 1.7.8, git-branch http://git-scm.com/docs/git-branch/1.7.8 can take a pattern argument right after the commit to filter the output branches. $ git branch --contains deadbeef master -- You received this message because you are subscribed to the Google Groups Git for

[git-users] Re: website deployment through git

2014-05-30 Thread Thomas Ferris Nicolaisen
Generic answer/advice: http://gitolite.com/deploy.html -- 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

Re: [git-users] How to find out (fast) if a commit is on a _specific_ branch

2014-05-30 Thread Dale R. Worley
From: Paul Smith p...@mad-scientist.net I know about git branch --contains but that checks ALL the branches to see if the commit is on any them, and with the number of branches we have that takes a non-trivial amount of time. Since this is in a push hook I really need it to be as fast as