mono / ngit

Automated jgit port to c#
261 stars 151 forks source link

how to use ngit api, to get remote repository? #13

Closed devbian closed 12 years ago

devbian commented 13 years ago

i am new with ngit.. i use the code blow: CloneCommand clone = Git.CloneRepository(); clone.SetURI("git://github.com/jquery/jquery.git"). SetDirectory(@"D:\localRepository"). Call(); it throw an exception... so ,i want to know, how to clone a remote repository with ngit api..

thanks..

alanmcgovern commented 12 years ago

The best documentation on how to use this is the nunit tests. I'd recommend looking at CloneCommandTest which shows exactly how to set up a command and execute it. It looks like you've done the right thing so without any additional information as to what the exception is I won't be able to offer any concrete advice.