1
0

zsh: git branch snippet

This commit is contained in:
Konstantin Demin 2025-05-02 16:13:31 +03:00
parent b12c01b3cb
commit 8137c7efde
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0

@ -62,3 +62,7 @@ git-archive-ref() {
git archive --format=tar -o "${topdir}/${out}" --prefix="${name}-${ver}-git.${c_hash}/" "${gitref}" || return $?
echo "archived to ${out} in ${topdir}/" >&2
}
git-br() {
__z_git -c core.pager='cat' branch --no-abbrev "$@"
}