V
V
VMesser2018-06-04 18:11:24
git
VMesser, 2018-06-04 18:11:24

How to see the file base of the project in git at the time of a certain commit?

Everyone on Google tells you how to see what's inside a commit. And I'm interested in knowing what the state of the project is at the time of the commit - what files are there. In fact - which will return his checkout without making the checkout itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-06-04
@jcmvbkbc

which will return his checkout without doing the checkout itself

git ls-tree -r --name-only tree-ish

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question