1
0
mirror of https://github.com/ViViDboarder/shoestrap.git synced 2025-01-11 06:17:41 +00:00
shoestrap/assets/default/bin/git-branch-name

4 lines
99 B
Plaintext
Raw Normal View History

2013-08-08 03:23:13 +00:00
#!/bin/bash
git rev-parse HEAD >&/dev/null || exit 1
git branch --no-color | grep '^*' | cut -c 3-