Friday, April 18, 2014

install git

https://chocolatey.org/

open command prompt
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

opon windows powershell  (type powershell in windows search box)
type
cinst poshgit
type
cinst git-credential-winstore

You have to open powershell as administrator to run the step below
type
set-executionpolicy remotesigned
restart powershell you will get ssh-agent not found error
add C:\Program Files (x86)\Git\bin to path, then it will ask for pass phrase, enter that
http://haacked.com/archive/2011/12/19/get-git-for-windows.aspx/

git config --global user.name "Greg Chu"
git config --global user.email "chu_greg@xxxx.com"
git config --global core.editor notepad.exe


No comments:

Post a Comment