mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
git-push-upstream no longer needed
This commit is contained in:
parent
a6ec04db7e
commit
25e56b7421
@ -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
|
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user