Skip to content

Instantly share code, notes, and snippets.

@ericraio
Created March 9, 2012 21:05
Show Gist options
  • Save ericraio/2008702 to your computer and use it in GitHub Desktop.
Save ericraio/2008702 to your computer and use it in GitHub Desktop.
<% git_results = `git rev-parse --abbrev-ref HEAD` %>
<style type="text/css" media="screen">
div.git-box {
border:5px solid #f00;
background-color: #fff;
width: 600px;
margin: 0 auto;
font-color: #f00;
font-size: 20px;
margin-top: 50px;
text-align: center;
padding: 100px;
}
</style>
<div class="git-box">
The Current Branch is: <%= git_results %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment