How can GitSharp (Git for .NET and Mono) be used to PUSH changes changes to a remote server over SSH?
Using GitSharp to PUSH changes
2.4k views Asked by ccook AtThere are 2 answers
GitSharp is based upon a manual port of JGit from Java to C#. There is another project does this semi-automatically (with the purpose of being added to MonoDevelop)
http://foodformonkeys.blogspot.com/2010/10/ngit.html
https://github.com/slluis/ngit
ABOUT NGIT
NGit is a port of JGit [1] to C#. This port is generated semi-automatically using Sharpen [2], a Java-to-C# conversion utility.
NGit provides all functionality implemented by JGit, including all repository manipulation primitives and transport protocols. SSH support is provided by a port of jsch [3], included in the project.
The project is composed by 4 libraries: - NGit: The git library. - NGit.Test: Unit tests for NGit - NSch: The port of jsch. - Sharpen: Some support classes required by the above libraries.
In theory, yes, the latest GitSharp 0.3 release (June 2010) includes:
The GitSharp README.txt does have:
You will find an example of such a push (over ssh) in this thread: