From 7839d32a586f5eb35cb30e664365ab4a90c6060f Mon Sep 17 00:00:00 2001 From: yage Date: Sat, 11 Nov 2023 15:20:18 -0700 Subject: [PATCH] use upstream for dotwryn too --- setup/git.zsh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/setup/git.zsh b/setup/git.zsh index 7a0b65c..f188c38 100644 --- a/setup/git.zsh +++ b/setup/git.zsh @@ -3,14 +3,10 @@ SETUP__GIT() { STATUS 'updating remotes for .wryn' cd $DOTWRYN_PATH - git remote rm origin 2>/dev/null - git remote add origin git@github.com:wrynegade/dotwryn.git - git remote set-url --add --push origin git@github.com:wrynegade/dotwryn.git - git remote set-url --add --push origin git@yage.io:wrynegade/dotwryn.git - git remote set-url --add --push origin git@bitbucket.org:wrynegade/dotwryn.git - git fetch origin >/dev/null 2>&1 - git branch --set-upstream-to=origin/main main >/dev/null 2>&1 - + git remote add upstream git@github.com:wrynegade/dotwryn.git + git remote set-url --add --push upstream git@github.com:wrynegade/dotwryn.git + git remote set-url --add --push upstream git@yage.io:wrynegade/dotwryn.git + git remote set-url --add --push upstream git@bitbucket.org:wrynegade/dotwryn.git STATUS 'updating upstream for zsh/plugins/code-activator' cd $DOTWRYN_PATH/zsh/plugins/code-activator