3 ms·
Just create a new branch in git, call it 'production', and... literally throw piles of shit at people who push to that branch. Then they'll get the hint. /s
by inetknght 10y ago
Just create a new branch in git, call it 'production', and... literally throw piles of shit at people who push to that branch. Then they'll get the hint. /s
- radarsat1 10y agoLol.. just venting ;) But thanks, I take your point. And actually good idea regarding the production branch, I might just do that.
- philipov 10y agoI don't know if it's the git way or not, but I learned with subversion, so I treat master as unstable and make a new maintenance branch for each release. So what I'm saying is: more than just one production branch. That way you can test the next release on its own branch without freezing trunk and without affecting the current production branch (suppose you want to roll back to the previous release?)