pause for commit and more extensions

This commit is contained in:
2022-02-01 20:43:40 -07:00
parent 32462802f0
commit 80be6e0afe
6 changed files with 428 additions and 37 deletions

View File

@ -24,8 +24,14 @@ copy "G:\VS-Code-Settings\Git\task-runner.json" "G:\%~1\.husky\task-runner.json"
copy "G:\VS-Code-Settings\Git\package.json" "G:\%~1\package.json"
git add .
git commit -m "Initial Commit"
git push origin master
git fetch
echo "If commit fails run"
echo "git commit -m 'Initial Commit'"
echo "Once commit passes press return to continue"
@pause
git push -u origin master
echo "Copy bare to 192.168.0.73:/srv/git/%~1 then press return to add remote"
@pause
git remote add Ubuntu git@192.168.0.73:/srv/git/%~1.git
git push Ubuntu master
code .
exit