mestsa003
This commit is contained in:
parent
6053bf3a31
commit
3e6b6dac43
31
Git/mestsa003.bat
Normal file
31
Git/mestsa003.bat
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
L:
|
||||||
|
cd L:\Git
|
||||||
|
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"
|
||||||
|
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
|
||||||
|
dotnet tool install Husky
|
||||||
|
dotnet tool restore
|
||||||
|
dotnet husky install
|
||||||
|
dotnet husky add pre-commit
|
||||||
|
echo {"scripts": {}}>package.json
|
||||||
|
git add .
|
||||||
|
git commit -m "Initial Commit"
|
||||||
|
git push origin master
|
||||||
|
git fetch
|
||||||
|
git push -u origin master
|
||||||
|
code .
|
||||||
|
exit
|
Loading…
x
Reference in New Issue
Block a user