The Wayback Machine - https://web.archive.org/web/20200918055610/https://github.com/github/libgit2sharp/wiki/Git-status
Skip to content

Git status

Christopher McClellan edited this page Feb 14, 2015 · 4 revisions

git-status

Get repository status

Git

$ git status

LibGit2Sharp

using (var repo = new Repository("path/to/your/repo"))
{
    foreach (var item in repo.RetrieveStatus())
    {
        Console.WriteLine(item.FilePath);
    }
}
You can’t perform that action at this time.