Adds fuzzy git checkout command
This commit is contained in:
parent
1f50039816
commit
ef66ce6ff4
1 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,12 @@ function wgcheckout {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# wgcheckout combined with a fuzzy search
|
||||||
|
function wgfcheckout {
|
||||||
|
wgcheckout $(git branch | fzf)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# combine fetch and rebase (git frebase)
|
# combine fetch and rebase (git frebase)
|
||||||
function wgfreebase {
|
function wgfreebase {
|
||||||
if [ -z $1 ]; then
|
if [ -z $1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue