Get a list of all files until a commit

  • 1 Min. Read.

Using ls-tree you can get a list of the contents of a tree object.

The above command will list only filenames (--name-only) and recurses into subtrees (-r).

Replace <commit-ish> with the commit-ish you want to compare against.

Was this article helpful?

Related guides

Comments 0
There are no comments at the moment.
A concept by Wonderlus

Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /mnt/home_bingo/codecaptain/codecaptain.io/public/wp-includes/functions.php on line 3583