-
Notifications
You must be signed in to change notification settings - Fork 897
git init
nulltoken edited this page May 17, 2011
·
6 revisions
Plain Git
$ git init /d/temp/rooted/path
Initialized empty Git repository in d:/rooted/path/.git/
LibGit2Sharp
string rootedPath = Repository.Init("D:\temp\rooted\path");
Console.WriteLine(rootedPath); // "D:\temp\rooted\path\.git\\"
Plain Git
$ git init --bare /d/temp/rooted/path
Initialized empty Git repository in d:/rooted/path/
LibGit2Sharp
string rootedPath = Repository.Init("D:\temp\rooted\path", true);
Console.WriteLine(rootedPath); // "D:\temp\rooted\path\\"