diff --git a/modules/common/shell/fish/functions/git-push-upstream.fish b/modules/common/shell/fish/functions/git-push-upstream.fish deleted file mode 100644 index a768efe..0000000 --- a/modules/common/shell/fish/functions/git-push-upstream.fish +++ /dev/null @@ -1,4 +0,0 @@ -set -l branch (git branch 2>/dev/null | grep '^\*' | colrm 1 2) -and set -l command "git push --set-upstream origin $branch" -and commandline -r $command -and commandline -f execute diff --git a/modules/common/shell/git.nix b/modules/common/shell/git.nix index e778704..9502c3c 100644 --- a/modules/common/shell/git.nix +++ b/modules/common/shell/git.nix @@ -51,7 +51,6 @@ in { gcae = "git commit --amend"; gu = "git pull"; gp = "git push"; - gpp = "git-push-upstream"; gl = "git log --graph --decorate --oneline -20"; gll = "git log --graph --decorate --oneline"; gco = "git checkout"; @@ -114,10 +113,6 @@ in { git-history = { body = builtins.readFile ./fish/functions/git-history.fish; }; - git-push-upstream = { - description = "Create upstream branch"; - body = builtins.readFile ./fish/functions/git-push-upstream.fish; - }; uncommitted = { description = "Find uncommitted git repos"; body = builtins.readFile ./fish/functions/uncommitted.fish;