Created
October 31, 2018 08:39
-
-
Save AnderssonPeter/da5c9e87fab670cf04e95406e363a9da to your computer and use it in GitHub Desktop.
Map git from windows to msys2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO 'Binding .gitconfig to current windows .gitconfig' | |
mklink C:\msys64\home\%username%\.gitconfig C:\Users\%username%\.gitconfig | |
@ECHO 'Binding .ssh to current windows .ssh' | |
mklink /D C:\msys64\home\%username%\.ssh C:\Users\%username%\.ssh | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set "GIT_EDITOR=/usr/bin/nano.exe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment