Created
March 26, 2013 17:16
-
-
Save leviwilson/5247250 to your computer and use it in GitHub Desktop.
Generates a batch file to do ssh-add so you do not have to continually enter your git password.
This file contains 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
ssh-agent | sed -n 's/\(\b.\+\)=\(.*\); export.*/set \1\=\2/p' > %TEMP%\store_ssh.bat && echo ssh-add >> %TEMP%\store_ssh.bat | |
%TEMP%\\store_ssh.bat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assumes that you have installed Git for Windows and that you chose to add the linux commands to your
PATH
variable.