Add README.md

This commit is contained in:
2026-06-26 10:37:34 +00:00
commit 38d429f85c
+12
View File
@@ -0,0 +1,12 @@
#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'
```