From 09be26873dcec51f9c490c671ef015346ebf3818 Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Thu, 23 Aug 2012 10:53:41 -0700 Subject: [PATCH] git-cur-branch: script to print cur branch Signed-off-by: Colin McCabe --- git-cur-branch.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) create mode 100755 git-cur-branch.sh diff --git a/git-cur-branch.sh b/git-cur-branch.sh new file mode 100755 index 0000000..6fa1ebc --- /dev/null +++ b/git-cur-branch.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +git branch | awk '/\*/ { print $2; }' -- 1.6.6.rc1.39.g9a42