From de956cc30cb5d7f8ba8bd496b12c9664eca73e81 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sat, 27 Mar 2021 16:01:19 +0100 Subject: [PATCH] added copy of gitconfig via logon script --- tools/logon.cmd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/logon.cmd b/tools/logon.cmd index 73962b6..34ee3cf 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -30,6 +30,14 @@ if NOT EXIST %USERPROFILE%\.ssh\config ( copy /Y %TOOLS%\scripts\config\ssh-config.txt %USERPROFILE%\.ssh\config ) +rem GIT +if NOT EXIST %USERPROFILE%\.gitconfig ( + if EXIST %TOOLS%\personal\gitconfig ( + echo setup for GIT ... + copy /Y %TOOLS%\personal\gitconfig %USERPROFILE%\.gitconfig + ) +) + rem VIM if NOT EXIST %USERPROFILE%\.vimrc ( echo setup for VIM ...