Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Welcome to the git-sharp project!
Note: This project has been inactive for a long time. Please visit henon/GitSharp if you are interested in an advanced implementation of git for .NET.
Git-sharp is a fully managed implementation of git, part of the Google Summer of Code 2008 project.
Here is the spec documentation (a work in progress):
SPECIFICATION: Git-Sharp, a Git implementation in .NET managed code
git-sharp is a reimplementation of the Git source code management system in C# for Microsoft .NET framework and the Mono framework. This document specify two APIs, Git.Core and Git.Repository which are basically the lower and higher level of the Git framework.
This API is meant to be used in plugins desktop applications and to extend the Git framework.
- API Design
- Functional Specification
- Provide an API to manage git repository and objects at both the lower and higher level
- Operations over a git repository should be done in the higher level (Git.Repository)
- Extensibility and filesystem operations should be done in the lower level (Git.Core)
2.1.1 Create a Repository
Repository repo = new Repository("/dir/repo"); repo.Init();
2.1.2 Add a File
2.1.3 Remove a File
2.1.5 Commit Changes