GitSharp - Git for .NET and Mono
... a native Windows version of the fast & free open source version control system
GitSharp is an implementation of Git for the Dot.Net Framework and Mono. It is aimed to be fully compatible to the original Git and shall be a light weight library for cool applications that are based on Git as their object database or are reading or manipulating repositories in some way.
Status of the Project
GitSharp is a quite usable and stable library used by several projects to interact with git repositories. To get an idea check out the Demo (see below)! GitSharp development is currently on hold because we believe that the libgit2 project and its C# bindings libgit2sharp are far more promising to work on.
- GitSharp.Core - a manual line by line port of jgit (outdated)
- GitSharp.CLI (git.exe) - quite incomplete
- GitSharp - a user friendly api designed to be easier to use and learn than GitSharp.Core
Projects using GitSharp
Bonobo Git Server
Jakub Chodounský created Bonobo Git Server for Windows (Git application server hosted on IIS with many features - based on the gitsharp library.
GitSharp.Demo is a small repository browser project that demonstrates the use of the GitSharp library and the user oriented API.
The source demonstrates how easy it is to ...
- open and interact with a git repository
- iterate over the file-tree of a specific revision
- get the contents of a single file of a specific revision
- get the changes between two commits
- display a modification as text diff
TicGit.net a small distributed issue tracker that uses git to keep track of tickets. It demonstrates the use of gitsharp's commiting API. TicGit is a toy project inspired by Scott Chacon's ruby application "ticgit".
Git# is derived from the Java library jgit and is released under the same BSD license as jgit.
Please refer to the LICENSE.txt files for the complete license, and please refer to the individual source file header to determine which license covers it and who contributed and therefor holds copyrights to the files.
Copyright (C) 2007-2009, The Git Development Community and the GitSharp Team See source file headers for specific copyrights of contributors
All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the Git Development Community nor the GitSharp Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Thanks and Credits
Thanks to all the kind people who contributed in one way or another. These are the credits:
- Dave Cameron: for fixing bugs
- Björn Carlson (hackerbaloo): for killing bugs that crept into the core
- Emeric Fermas (nulltoken): for eliminating some of the hardest to find bugs and for verifying the complete test suite against jgit
- Martinho Fernandes (eue): for fixing bugs
- Andriano Machado (ammachado): for porting massive amounts of code and tests, also fixing many bugs
- Jim Radford: for the continuous integration server account and the support
- Gil Ran: for porting and fixing lots of tests and initial efforts on Mono
- Meinrad Recheis (henon): I started this project and put all my effort into having it take off
- Dan Rigby: for setting up the #GitSharp irc channel as well as porting and fixing tests
- rolenun: for the command line interface framework. hey, what is your real name?
- Stefan Schake (caytchen): for porting huge parts of the transport layer, and hunting down nasty bugs.
- Mauricio Scheffer (mausch): for the testing and build server expertise and CI server trouble shooting
- Neil Stalker (nestalk): for caring much about gitsharp's Mono compatibility and squashing bugs
- Kevin Thompson: for initially porting large amounts of code and letting me rise the baby
Furthermore, much appreciation and thanks to ...
- Linus Torvalds and the git community for creating and maintaining it.
- Shawn O. Pearce and the jgit/egit community. Git# is based on their excellent work.
--Henon 22:45, 13 October 2009 (CEST)