Files
Linux_config/README.md
T
2026-06-26 10:37:34 +00:00

499 B

#Linux_config

Bash command

select branches I created

alias mybranches_old='git for-each-ref --format="%(authorname) %09 %(refname:short)" --sort=authorname | grep "$(git config user.name)"'

select branches I created + selection mode

alias mybranches='git for-each-ref --format="%(authorname) %09 %(refname:short)" --sort=authorname | grep "$(git config user.name)" | fzf -m --header "Tab to select multiple, Enter to checkout" | awk "{print \$2}" | xargs git checkout'