37 ms·
I wrote a deploy script for our QA system that checks out the commit hash we want instead of the branch and leaves it in detached head mode. Works awesome. Need
by donatj 12y ago
I wrote a deploy script for our QA system that checks out the commit hash we want instead of the branch and leaves it in detached head mode. Works awesome. Needless to say our ops guys were not amused and demanded it leave it on a branch. People can be do stubbornly stupid sometimes.
- phaemon 12y agoIt does leave some people worried, but I think it's just because they don't understand what it means. Maybe adding: git checkout -B lastdeployed to the end of your script would leave them happier!