DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Git: list files at a given commit with ls-tree

· Adamj · Aug. 6, 2026, 11:24 p.m.
Git posts Git Version control command line software development
Summary
This blog post explains how to use the 'git ls-tree' command to list files in a repository at a specific commit, detailing its options for reference and usage.
Read full post on adamj.eu →
MORE POSTS LIKE THIS
git: empty stash
Thiago Perrotta · Apr 9, 2026
Git Dev
What commit did I branch off from?
Jamie Tanna · Aug 23, 2026
Git Version control
Git without the hubs and the labs
Aldo Ziflaj · Aug 5, 2026
Git Code sharing
Git: exclude commits by an author in git log with --perl-regexp
Adamj · Aug 5, 2026
Git posts
The git history command deserves more attention
Lalit Maganti · Jul 14, 2026
Git Version control
A gentle introduction to Git worktrees
Nicholas C. Zakas · Jul 14, 2026
AI productivity
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google