git-push-upstream no longer needed

This commit is contained in:
Noah Masur 2023-06-16 08:00:07 -04:00
parent a6ec04db7e
commit 25e56b7421
2 changed files with 0 additions and 9 deletions

View File

@ -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

View File

@ -51,7 +51,6 @@ in {
gcae = "git commit --amend"; gcae = "git commit --amend";
gu = "git pull"; gu = "git pull";
gp = "git push"; gp = "git push";
gpp = "git-push-upstream";
gl = "git log --graph --decorate --oneline -20"; gl = "git log --graph --decorate --oneline -20";
gll = "git log --graph --decorate --oneline"; gll = "git log --graph --decorate --oneline";
gco = "git checkout"; gco = "git checkout";
@ -114,10 +113,6 @@ in {
git-history = { git-history = {
body = builtins.readFile ./fish/functions/git-history.fish; 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 = { uncommitted = {
description = "Find uncommitted git repos"; description = "Find uncommitted git repos";
body = builtins.readFile ./fish/functions/uncommitted.fish; body = builtins.readFile ./fish/functions/uncommitted.fish;