We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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\\"
$ git init --bare /d/temp/rooted/path Initialized empty Git repository in d:/rooted/path/
string rootedPath = Repository.Init("D:\temp\rooted\path", true); Console.WriteLine(rootedPath); // "D:\temp\rooted\path\\"