This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
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
Overview
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.
Contents
- Requirements
- API Specification
- Scenarios
- TBD
- TBD
- TBD
- …
- API Design
- Scenarios
- Functional Specification
1 REQUIREMENTS
- 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 API SPECIFICATION
2.1 Screnarios
2.1.1 Create a Repository
Repository repo = new Repository("/dir/repo");
repo.Init();
2.1.2 Add a File
repo.Add("SourceCode.cs");
Console.WriteLine(repo.GetStatus());
2.1.3 Remove a File
repo.Remove("SourceCode.cs");
Console.WriteLine(repo.GetStatus());
2.1.5 Commit Changes
if(repo.Changed)
repo.Commit(message);
2.1.6 Tag
repo.Tag(commit, tag);






