git ls files
git-ls-files
Get unmerged files
Git
$ git ls-files --unmerged
LibGit2Sharp
using (var repo = new Repository("path/to/your/repo"))
{
foreach(IndexEntry e in repo.Index)
{
if (e.StageLevel == 0)
{
continue;
}
Console.WriteLine("{0} {1} {2} {3}",
Convert.ToString((int)e.Mode, 8),
e.Id.ToString(), (int)e.StageLevel, e.Path);
}
}
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
