0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

fix: update alias of gbda to assure readers their main branch won't be deleted

Tommaso Panozzo 2021-02-16 09:11:48 +01:00
parent fe2cd8ca53
commit fe427d4e77

@ -82,7 +82,7 @@ See `~/.oh-my-zsh/lib/directories.zsh`
| _gb_ | git branch |
| _gba_ | git branch -a |
| _gbd_ | git branch -d |
| _gbda_ | git branch --no-color --merged \| command grep -vE "^(\\+\|\\\*\|\\s\*(master\|develop\|dev)\\s*$)" \| command xargs -n 1 git branch -d |
| _gbda_ | git branch --no-color --merged \| command grep -vE "^(\+\|\*\|\s*($(git_main_branch)\|development\|develop\|devel\|dev)\s*$)" \| command xargs -n 1 git branch -d |
| _gbl_ | git blame -b -w |
| _gbnm_ | git branch --no-merged |
| _gbr_ | git branch --remote |