tortoisegittotal-commander

Custom shortcut for TotalCommander and invoking TortoiseGit log at current folder


I'm going over this topic everytime I setup new computer and I always have to make reasearch that takes me up to 20 mins. I like to use TortoiseGit together with TotalCommander.

To easy up navigation, I would like to open TortoiseGit - log, at currently opened folder. And ideally I would like to do that without touching any button (by mouse), instead just pressing keyboard shortcut.

How can this be achieved?


Solution

  • Answer to this question has 2 parts, first we need to understand, how to open TortoiseGit - log at current folder. It can be done by running following exe (full and shortened path):

    Now we need to add this path to the TotalCommander. New custom command can be added as:

    1. Go to Configuration, Misc.
    2. Create new hotkey (e.g. CTRL+G)
    3. Press Magnifier to select command
    4. In Category select usercmd.ini and press New...
    5. Insert your command (e.g. TortoiseGitProc /command:log /path:.), press OK
    6. Aplly shortcut (by green mark) and press OK

    TotalCommander misc TotalCommander choose command TotalCommander edit command