I've got a couple of different branches of a rails app running in a development environment on the same server (on separate databases, obv), and I'd like to make it very clear what branch is being shown when I hit the app through the web.
Any ideas, short of running git-branch
or git-symbolic-ref HEAD
in backticks and parsing the output?