7

How do I execute a Git command through a PowerShell script?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
vmb
  • 2,878
  • 15
  • 60
  • 90

1 Answers1

11

Install Git for Windows, and make sure to put Git/bin folder in your Windows path variable.

Here is a good link to make your experience of Git and PowerShell better:

Make PowerShell, SSH GitHub and Git suck less on Windows

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
wallybh
  • 934
  • 1
  • 11
  • 28