Add another git checkout alias for remote branches

This commit is contained in:
Dave Gallant
2023-03-20 16:52:13 -04:00
parent acaa76771a
commit 491800b9e6

View File

@@ -201,7 +201,8 @@ in {
".." = "cd ..";
c = "code";
g = "git";
gco = "git checkout $(git branch | fzf| tr -d '[:space:]')";
gc = "git checkout $(git branch | fzf)";
gco = "git checkout $(git branch -r | sed -e 's/^ origin\\///' | fzf)";
gr = "cd $(git rev-parse --show-toplevel)";
gho = "gh repo view --web >/dev/null";
grep = "rg --smart-case";