3 ms·
Cool idea! I actually do something similar albeit without sorting. The idea is if you check out a remote branch it'll track it. gbb() { eval $(echo git c
by nicbarth 3y ago
Cool idea! I actually do something similar albeit without sorting. The idea is if you check out a remote branch it'll track it.
gbb() {
eval $(echo git checkout "$(git branch --all \
| fzf --height 10 \
| tr -d '[:space:]' \
| tr -d '*' \
| sed 's/remotes\//\-\-track /g')")
}