1
0
mirror of https://github.com/ViViDboarder/shoestrap.git synced 2025-01-07 05:27:40 +00:00
shoestrap/assets/default/bin/git-branch-name
2014-08-08 13:53:21 -07:00

4 lines
99 B
Bash
Executable File

#!/bin/bash
git rev-parse HEAD >&/dev/null || exit 1
git branch --no-color | grep '^*' | cut -c 3-