-
-
Save AlbertoMonteiro/1779883 to your computer and use it in GitHub Desktop.
Git for power shell
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
#Com git instalado, via powershell: | |
Set-ExecutionPolicy Unrestricted | |
if(!$env:path.Contains("C:\Program Files (x86)\Git\cmd")) | |
{ | |
$env:path += ";C:\Program Files (x86)\Git\cmd" | |
} | |
if(!$env:path.Contains("C:\Program Files (x86)\Git\bin")) | |
{ | |
$env:path += ";C:\Program Files (x86)\Git\bin;" | |
} | |
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex | |
install-module posh-git | |
cd $env:UserProfile\Documents\WindowsPowerShell | |
.\Microsoft.PowerShell_profile.ps1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment