bd{,-} added
parent
c3b5d2c0d9
commit
6748d2a31d
|
@ -26,6 +26,8 @@ By default, the following mappings are available, each with tab completion:
|
|||
* `A` - git add -A
|
||||
* `AS` - git add -A && git push
|
||||
* `b` - git branch
|
||||
* `bd` - git branch --delete
|
||||
* `bd-` - delete branch `@{-1}`
|
||||
* `bv` - git branch -v
|
||||
* `B` - git bisect
|
||||
* `Bs` - git bisect start
|
||||
|
|
|
@ -2,6 +2,8 @@ a _git_add :add
|
|||
A _git_add :add -A
|
||||
AS : |git add -A && git stash
|
||||
b _git_branch :branch
|
||||
bd _git_branch :branch -d
|
||||
bd- : |ref="$( git rev-parse --symbolic-full-name @{-1} )"; git branch -d "${ref#refs/heads/*}"
|
||||
bv _git_branch :branch -v
|
||||
B _git_bisect :bisect
|
||||
Bs _git_bisect :bisect start
|
||||
|
|
Loading…
Reference in New Issue