Reputation: 7415
Is there a way to integrate Git into the Windows cmd or PowerShell? - so that it feels a bit like a Linux terminal. How?
Upvotes: 13
Views: 13281
Reputation: 5181
why everybody here wants to literally "integrate" git into powershell?
git
but if you really want an integration, the easiest way is to "Download and install posh-git"
Upvotes: 0
Reputation: 2305
This is what I use: posh-git: a PowerShell environment for Git
It also integrates into the cwd line:
Upvotes: 10
Reputation: 4132
Simple and straightforward way:
Essentially
Upvotes: 2
Reputation: 1642
Check out Posh Git:
Upvotes: 2
Reputation: 7415
OK, I got it myself ...
new-item -path alias:git -value 'C:\Program Files (x86)\Git\bin\git.exe'
Upvotes: 13