Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
a25efd1e
Unverified
Commit
a25efd1e
authored
May 22, 2020
by
David
Committed by
GitHub
May 22, 2020
Browse files
git: exclude devel branch from list in gbda alias (#8957)
parent
b721053c
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/git/README.md
View file @
a25efd1e
...
...
@@ -22,7 +22,7 @@ plugins=(... git)
| gb | git branch |
| gba | git branch -a |
| gbd | git branch -d |
| gbda | git branch --no-color --merged
\|
command grep -vE "^(
\+\|\*\|\s
*(master\|development\|develop\|dev)\s*
$)"
\|
command xargs -n 1 git branch -d |
| gbda | git branch --no-color --merged
\|
command grep -vE "^(
\+\|\*\|\s
*(master\|development\|develop\|
devel\|
dev)\s*
$)"
\|
command xargs -n 1 git branch -d |
| gbD | git branch -D |
| gbl | git blame -b -w |
| gbnm | git branch --no-merged |
...
...
plugins/git/git.plugin.zsh
View file @
a25efd1e
...
...
@@ -42,7 +42,7 @@ alias gap='git apply'
alias
gb
=
'git branch'
alias
gba
=
'git branch -a'
alias
gbd
=
'git branch -d'
alias
gbda
=
'git branch --no-color --merged | command grep -vE "^(\+|\*|\s*(master|development|develop|dev)\s*$)" | command xargs -n 1 git branch -d'
alias
gbda
=
'git branch --no-color --merged | command grep -vE "^(\+|\*|\s*(master|development|develop|
devel|
dev)\s*$)" | command xargs -n 1 git branch -d'
alias
gbD
=
'git branch -D'
alias
gbl
=
'git blame -b -w'
alias
gbnm
=
'git branch --no-merged'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment