Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open the TortoiseGit log window from command line?

Tags:

tortoisegit

How can you show the standard TortoiseGit log window for a repository or specified file in repository from the command line?

like image 882
Astronavigator Avatar asked Dec 30 '10 11:12

Astronavigator


People also ask

How do I open TortoiseGit?

You can open it using TortoiseGit → Repo-browser or from the log dialog (cf. the section called “Log Dialog”) using the context menu of a commit.

How do I use TortoiseGit?

Right-Click in the File explorer within the repository and select TortoiseGit =>Create Branch. Name it enhancement and select the checkbox Switch to the new branch. Click Ok. Make a change to the file in the enhancement branch and commit the same.

How do I get to TortoiseGit settings?

We'll need to configure TortoiseGit - to do this, right click anywhere on your Desktop, select TortoiseGit and then Settings. Find Git and then click on Config from the menu on the left.

Where are TortoiseGit settings stored?

The settings appear to all be stored in the Registry rather than file configs. If you look under Computer\HKEY_CURRENT_USER\Software\TortoiseGit you will find a number of ContextMenuEntries keys which I believe control the context menu settings.


1 Answers

If you're currently in a working copy directory, you can run this command:

TortoiseGitProc /command:log /path:.

Or to just show the log of a specific file, use:

TortoiseGitProc /command:log /path:MyFile.txt

I haven't yet worked out how to specify a certain branch/remote, however.

like image 128
Simon East Avatar answered Sep 19 '22 11:09

Simon East