ses4j / tgit

Windows batch file to allow invoking TortoiseGit naturally via commandline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tgit.bat

Windows batch file to allow invoking TortoiseGit naturally via commandline.

This very simple batch file allows convenient commandline access to some of the lovely TortoiseGit GUI tools, such as:

tgit log [path]
tgit log ..branch 		# show commits between HEAD and `branch`
tgit commit
tgit sync
tgit diff [path]    	# invoke the diff tool registered in TortoiseGit.
tgit diff ..branch 		# diff HEAD against `branch`

Based on Ayende's work at http://www.ayende.com/blog/4749/executing-tortoisegit-from-the-command-line and documentation at http://tortoisegit.org/docs/tortoisegit/tgit-automation.html.

And, like him, I am posting this mostly because I want to be able to look it up afterward.

About

Windows batch file to allow invoking TortoiseGit naturally via commandline.


Languages

Language:Shell 100.0%