Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated Git to 1.8.0, update GitExtensions and KDiff3. Removed SSH ke…
…y generation.
  • Loading branch information
ejr06006 committed Nov 8, 2012
1 parent b7e230e commit 3a3c986
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 29 deletions.
Binary file not shown.
Binary file not shown.
30 changes: 4 additions & 26 deletions Install.bat
Expand Up @@ -17,16 +17,15 @@ set /P email=Please enter your email address:
rem Install Programs.
echo.
echo Installing Git...
start /w Git-1.7.8-preview20111206.exe /silent
start /w Git-1.8.0-preview20121022.exe /silent
echo Installing GitExtensions...
start /w msiexec /I GitExtensions228SetupComplete.msi SSHCLIENT="OpenSSH" INSTALLMSYSGIT="0" INSTALLKDIFF3="0" ALLUSERS="1" /quiet /passive
start /w msiexec /I GitExtensions243SetupComplete.msi SSHCLIENT="OpenSSH" INSTALLMSYSGIT="0" INSTALLKDIFF3="0" ALLUSERS="1" /quiet /passive
echo Installing KDiff3...
start /w KDiff3Setup_0.9.96.exe /S
start /w KDiff3-32bit-Setup_0.9.97.exe /S

if "%platform%"=="x64" goto path64
goto path86

rem ADD TO PATH (x64)
:path64
set GITPATH=C:\Program Files (x86)\Git\bin
goto :path
Expand All @@ -44,30 +43,9 @@ rem SET GIT CONFIGURATION
"%GITPATH%\git" config --global core.name %name%
"%GITPATH%\git" config --global core.email %email%

rem CHECK FOR SSH KEY. IF NOT DETECTED, GENERATE.
if not exist "%HOMEDRIVE%%HOMEPATH%\.ssh\id_rsa" (
mkdir "%HOMEDRIVE%%HOMEPATH%\.ssh"
"%GITPATH%\ssh-keygen.exe" -f "%HOMEDRIVE%%HOMEPATH%\.ssh\id_rsa" -t rsa -b 2048 -N '' -C "%name% <%email%>" >NUL
)

clip < "%HOMEDRIVE%%HOMEPATH%\.ssh\id_rsa.pub"

echo.
echo Your SSH key has been automatically generated and copied to your clipboard.
echo Click this window and then press any key to continue. Your web browser will open to UConn GitHub.
echo 1) Sign in if you have not already done so.
echo 2) Click "Account Settings" in the upper right corner of the page.
echo 3) Click "SSH Public Keys" on the left.
echo 4) Click "Add another public key".
echo 5) Paste (Control+V) into the "Key" box and Click "Add Key".
echo.

pause
start http://github.uconn.edu/account/ssh

:finish
echo.
echo Done! You can now close this window and start using Git / UConn GitHub.
echo Done! You can now close this window and start using Git and UConn GitHub.
echo.

pause >NUL
Binary file not shown.
3 changes: 0 additions & 3 deletions README.md
Expand Up @@ -8,9 +8,6 @@ It currently does the following:
* Installs Git Extensions (GUI, Visual Studio addons, etc)
* Installs KDiff3
* Sets your Name and Email Git configuration values
* Generates a SSH key for you (if one does not already exist)
* Copies your SSH key to your clipboard so you can paste it into http://github.uconn.edu/account/ssh



----------
Expand Down
Binary file removed UConnGitHub-v0.9.exe
Binary file not shown.

0 comments on commit 3a3c986

Please sign in to comment.