rename git checkout function

This commit is contained in:
jc 2023-11-17 13:11:57 -05:00
commit 359b31dbc3
No known key found for this signature in database

View file

@ -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