Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Git ls tree

KindDragon edited this page Mar 5, 2013 · 2 revisions

git-ls-tree

Get tree items

Git

$ git ls-tree commit

LibGit2Sharp

using (var repo = new Repository("path/to/your/repo"))
{
    var tree = Repository.Lookup<Tree>(id);
    foreach(var item in tree)
        Console.WriteLine(item.Name);
}

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.