POWERSHELL

PowerShell


PowerShell is a better shell for windows.

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git bash is inconvenient for me, so I prefer to use cmd or powershell. Here is the problem, Git doesn’t work well with powershell in windows, but if you install GitHub for Windows, porblem is solved already. Nevertheless, I tried to solve it with git.

install PsGet

(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex

set execution policy with Administrator in powershell, or you can’t run scripts posh-git

Set-ExecutionPolicy RemoteSigned

install posh-Git

Install-Module posh-git

REFERENCE


1.How PowerShell Differs From the Windows Command Prompt
2.PowerShell为什么强大
3.让PowerShell用上Git
4.配置Powershell使其支持git_for_windows

Chen Zhigao wechat
CONTACT ME!