Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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);
    }
}
Clone this wiki locally