Git.tip.sym: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/git/git.bend as Git Lines 208-210 of ezx@1.11.0.0/src/git/git.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/git/git.bend&start_line=208&end_line=210 import Base # `ref: refs/heads/main` is `main`. Anything else is no branch. def tip.sym(+rev: String) -> String: tip.strip(tip.strip(rev, "ref: "), "refs/heads/") Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=tip.strip