zsh: git branch snippet
This commit is contained in:
parent
b12c01b3cb
commit
8137c7efde
@ -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 "$@"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user