Files
LumaOps-Public/scripts/git-get-branch.sh
T

4 lines
112 B
Bash

#! /bin/bash
git show-ref | grep $(git log --pretty=%h -1) | sed 's|.*/\(.*\)|\1|' | sort -u | grep -v HEAD