mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Add another git checkout alias for remote branches
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user