Mercurial > dotfiles
diff install.cmd @ 124:20c49d51f7e3
Added `.gitconfig`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 05 Mar 2013 12:48:38 -0800 |
parents | b96ff0dd0137 |
children | 2e1f9a40a36a |
line wrap: on
line diff
--- a/install.cmd Tue Feb 19 17:44:57 2013 -0800 +++ b/install.cmd Tue Mar 05 12:48:38 2013 -0800 @@ -27,3 +27,11 @@ echo [extensions] >> "%userprofile%\mercurial.ini" echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini" echo onsub = %CWD:\=/%lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini" + +:: Git Files +if exist "%userprofile%\.gitconfig" ( + set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort. + del /Q "%userprofile%\.gitconfig" +) +copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig" +