Create-Shortcut
This commit is contained in:
@ -1,27 +1,27 @@
|
||||
L:
|
||||
cd L:\Git
|
||||
mkdir "%1.git"
|
||||
cd "%1.git"
|
||||
@echo off
|
||||
G:
|
||||
mkdir "%~1.git"
|
||||
cd "%~1.git"
|
||||
git init --bare
|
||||
git config core.logAllRefUpdates "true"
|
||||
cd ..
|
||||
robocopy /E /MOVE "%1.git" "\\mestsa003.infineon.com\Git\%1.git"
|
||||
cd "%1"
|
||||
robocopy /E "%~1.git" "\\mestsa003.infineon.com\Git\%~1.git"
|
||||
cd "%~1"
|
||||
git init
|
||||
git rev-parse --git-dir
|
||||
git fetch
|
||||
git remote --verbose
|
||||
git config --get commit.template
|
||||
git config --local branch.master.github-pr-owner-number
|
||||
git remote add origin "\\mestsa003.infineon.com\Git\%1.git"
|
||||
copy "L:\Git\VS-Code-Settings\Visual Studio Settings\.editorconfig" "L:\Git\%1\.editorconfig"
|
||||
dotnet new gitignore
|
||||
dotnet new tool-manifest
|
||||
git remote add origin "\\mestsa003.infineon.com\Git\%~1.git"
|
||||
copy "G:\VS-Code-Settings\Visual Studio Settings\.editorconfig" "G:\%~1\.editorconfig"
|
||||
dotnet new gitignore --force
|
||||
dotnet new tool-manifest --force
|
||||
dotnet tool install Husky
|
||||
dotnet tool restore
|
||||
dotnet husky install
|
||||
dotnet husky add pre-commit
|
||||
echo {"scripts": {}}>package.json
|
||||
REM dotnet husky add pre-commit
|
||||
copy "G:\VS-Code-Settings\Git\pre-commit" "G:\%~1\.husky\pre-commit"
|
||||
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
|
||||
|
Reference in New Issue
Block a user