Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - [ANN] gitsharp 0.2 released

Reply
 
Old 10-28-2009   #1 (permalink)
henon


 
 

[ANN] gitsharp 0.2 released

Dear fellow git enthusiasts,

We are proud to announce version 0.2 which marks significant
improvements in the new Git api we are building around GitSharp.Core.
The core is a line-by-line port of jgit. We found it quite hard to use
it without good knowledge of git's internals and technical concepts.
The api which is documented by examples at http://www.eqqon.com/index.php/GitSharp/Examples
encapsulates and abstracts this knowledge so that everyone with a
little git experience could easily make use of the library.

The improvements mentioned above allow to add files to the index and
commit them. It is as easy as this:

var repo = Repository.Init("path/to/new/repo");

Now suppose you have created some files in the new repository and want
to stage them for committing:

repo.Index.Add("README", "License.txt");
var commit=repo.Commit("My first commit with gitsharp", new Author
("henon", "meinrad.recheis@newsgroup"));

Easy, isn't it? Now let's have a look at the changes of this commit:

foreach(var change in commit.Changes) Console.WriteLine
(change.Name + " " + change.ChangeType);

Of course there is still much work to do until this new API will
completely reflect the full range of git interactions a standard
application is probably going to need. We hope to quickly build up the
most important parts until the end of the year. If you check it out,
please give us feedback which will be greatly appreciated.

Download Gitsharp 0.2 binaries from http://www.eqqon.com/index.php?title=GitSharp/v0.2.0

Have a nice day,
--Henon 21:22, 28 October 2009 (CET)

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
[ANN] gitsharp version 0.1.3 released .NET General
VistaBootPro 3.2 released Vista General
Ubuntu 7.04 has been released. Vista General
RC1 is released again? Vista General
RC1 released to CPP? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46