7

I'm using windows powershell to manage git, but am limited in that it can't seem to run the Gitk command. (At least by default)

Are there any other tools I can use from PS or is there a way I can force PS to interpret the Gitk launch script correctly?

Alex C
  • 16,624
  • 18
  • 66
  • 98
  • I think if you have [Tcl/Tk](http://tcl.tk) installed, you should be able to run `wish path\to\gitk`. No experience with PowerShell, though. – Fred Foo Jul 08 '11 at 14:21

2 Answers2

6

Just make sure C:\Program Files (x86)\Git\bin\gitk or C:\Program Files (x86)\Git\cmd\gitk.cmd ( change as per where you installed MSYSGIT) is in PATH

manojlds
  • 290,304
  • 63
  • 469
  • 417
  • This is correct! Though with PowerShell, I've actually got to type gitk.cmd in order to start the DIFF gui. I may be able to set an alias for that, but at least I've got it all in the same terminal window now. Thanks! (**EDIT** yes, you can set an alias to gitk.cmd, all is right with the world) – Alex C Jul 08 '11 at 17:33
-1

I'm a big fan of using Mercurial and Tortoise HG - http://tortoisehg.bitbucket.io/ - from PowerShell. A Google came up with this link for Tortoise Git https://tortoisegit.org/

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Matt
  • 1,931
  • 12
  • 20