📅  最后修改于: 2022-03-11 14:49:30.932000             🧑  作者: Mango
git show-branch -a | grep '\*' | grep -v `git rev-parse --abbrev-ref HEAD` | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//'