Skip to content
vpfau edited this page Oct 24, 2018 · 1 revision

git-status

Get repository status

Git

$ git status

LibGit2Sharp

using (var repo = new Repository("path/to/your/repo"))
{
    foreach (var item in repo.RetrieveStatus(new LibGit2Sharp.StatusOptions()))
    {
        Console.WriteLine(item.FilePath);
    }
}
Clone this wiki locally