Home > front end >  How to open Tortoise Git "Working Tree" window from the command line?
How to open Tortoise Git "Working Tree" window from the command line?

Time:02-19

Context

The picture below shows the manual process I use to show a git working tree changes with Tortoise Git GUI on Windows.

The process is:

  1. Right click the root folder of a local git repository.
  2. Hover over option "TortoiseGit".
  3. Select option "Diff".

enter image description here

By following these steps, Tortoise Git shows a "Working Tree" window dialog like the one below:

enter image description here

Question

Is it possible to show this same window from the command line on Windows SO? How could one open Tortoise Git "Working Tree" window from git bash?

CodePudding user response:

You can call TortoiseGitProc /path:THEPATH /command:repostatus

In some cases you can omit /path:

cf. https://tortoisegit.org/docs/tortoisegit/tgit-automation.html

  • Related