From 359b31dbc3b8f45ef47648bebeeff584ef7b4c75 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Fri, 17 Nov 2023 13:11:57 -0500 Subject: [PATCH] rename git checkout function --- .config/bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/.bashrc b/.config/bash/.bashrc index 0c7b8fd..69e53a7 100644 --- a/.config/bash/.bashrc +++ b/.config/bash/.bashrc @@ -167,7 +167,7 @@ git-prune() { } # fuzzy find branches and switch to selected branch -gco() { +gc() { local selected_branch=$(git branch | fzf | sed 's/^[ \*]*//') if [ -n "$selected_branch" ]; then