From 7e4ab4c2551cba74d83b3eb9ca75921c0916d507 Mon Sep 17 00:00:00 2001 From: Matthew Owens Date: Wed, 5 Aug 2020 12:57:23 +0100 Subject: [PATCH] updated dproj to use new_module script on vps --- dproj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dproj b/dproj index bf77baf..f02f034 100755 --- a/dproj +++ b/dproj @@ -13,9 +13,7 @@ if [ -z $projExists ]; then notify-send 'cecse' "creating $proj module, please wait..." ./scripts/new_module $proj notify-send 'cecse' "adding owens.tech remotes..." - ssh git@owens.tech "mkdir cecse/$proj.git cecse/test-$proj.git;\ - cd $proj.git; git init --bare; cd ../$test-proj.git;\ - git init --bare" + ssh git@owens.tech "new_module $proj cecse" cd $proj git remote set-url --add --push origin git@github.com:cecse/$proj.git git remote set-url --add --push origin git@owens.tech:cecse/$proj.git -- 2.20.1