diff --git a/BaseGitClone.bat b/BaseGitClone.bat index dd1f2fd..7e190b0 100755 --- a/BaseGitClone.bat +++ b/BaseGitClone.bat @@ -22,6 +22,12 @@ if exist %GIT% ( %GIT% -c "git config --global --add safe.directory C:/Scripts/wLocal" %GIT% -c "git config --global --add safe.directory C:/Scripts/wPublic" + %GIT% -c "git config --global core.sshCommand "ssh -i ~/.ssh/giteadeploy -F /dev/null"" + %GIT% -c "git config --global user.name "USER"" + %GIT% -c "git config --global user.email "USER@DOMAIN.com"" + %GIT% -c "git config --global init.defaultBranch main" + %GIT% -c "git config --global pull.rebase "False"" + echo "Found git." echo "Attempting clone of wBase" cd %SCRIPTS%