From e21b930344d3cf84dee9ffbb3dfd64af30fb682b Mon Sep 17 00:00:00 2001 From: Fernando Araoz Date: Tue, 21 Jan 2025 14:38:50 -0500 Subject: [PATCH] feat: fish alias for git --- config/fish/config.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/fish/config.fish b/config/fish/config.fish index 617b09b..3cfd065 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -7,6 +7,14 @@ set -gx EDITOR vi set -gx VISUAL vi set -gx TERM foot +function git-push + git push github (git rev-parse --abbrev-ref HEAD) +end + +function git-pull + git pull github develop --no-rebase +end + # Proper PATH handling fish_add_path $HOME/.local/bin fish_add_path $HOME/.cargo/bin