PDA

View Full Version : GIT/Subversion in the Tools menu



DaveR
3-Jun-2022, 06:47 PM
Thought I'd seen an example of a subversion or GIT commit of the current editor file using the tools menu but I can't recall where, certainly not in the help.

Anybody else remember it?


(my one concession to the royal rumble, a Pimms going down very nicely, but it isn't refreshing my mind-buds)

Marco
4-Jun-2022, 12:39 PM
I added it to the git white paper, which now lives in the wiki

DaveR
7-Jun-2022, 02:00 PM
I added it to the git white paper, which now lives in the wiki

aha!

thanks, Marco, I shall commence a search

Marco
8-Jun-2022, 03:48 PM
Just checked my Evernote;

Create a batch file:
pushd %1\..
call "C:\Program Files\Git\cmd\git-gui.exe"
popd

Then add a entry in the tools menu
Git gui
C:\Work\DFTools\GitGui.bat
<file>

DaveR
10-Jun-2022, 02:08 PM
Just checked my Evernote;

Create a batch file:
pushd %1\..
call "C:\Program Files\Git\cmd\git-gui.exe"
popd

Then add a entry in the tools menu
Git gui
C:\Work\DFTools\GitGui.bat
<file>


Cheers Marco. All I have to do then is dump 25 years of Subversion... :cool:

Good start anyway, always knew I'd need the CLI one day

reading further, safer to ignore the CLI if you can... TortoiseSVN has a companion utility GUI TortoiseProc.exe

Appendix D. Automating TortoiseSVN (https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics)

so there is scope, though as is it doesn't right now fit my process.. Got me thinking though...

Marco
11-Jun-2022, 04:12 AM
Ps Fork is currently ma favourite git program.

Raphael Theiler
20-Jun-2022, 02:06 AM
My new favourite: Sublime Merge