Redundancy with `git describe`
@@ -1,10 +0,0 @@
-#!/bin/bash
-current_branch=`git branch 2>&1`
-if [ "$current_branch" != 'fatal: not a git repository (or any of the parent directories): .git' ]
-then
- current_branch=`echo "$current_branch" | grep \* | cut -d ' ' -f2`
- echo "$current_branch"
- exit 0
-else
- exit 1
-fi