rename git checkout function
This commit is contained in:
parent
06c53f054c
commit
359b31dbc3
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ git-prune() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# fuzzy find branches and switch to selected branch
|
# fuzzy find branches and switch to selected branch
|
||||||
gco() {
|
gc() {
|
||||||
local selected_branch=$(git branch | fzf | sed 's/^[ \*]*//')
|
local selected_branch=$(git branch | fzf | sed 's/^[ \*]*//')
|
||||||
|
|
||||||
if [ -n "$selected_branch" ]; then
|
if [ -n "$selected_branch" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue