B
B
BANTIK2011-10-19 15:42:09
git
BANTIK, 2011-10-19 15:42:09

Git. Changed files between two commits

Can you please tell me if it is possible to get a list of files that have been changed or added between the first and last commit? And if so, how? Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
winnie, 2011-10-19
@winnie

git diff --name-only <commit_id>
In the current commit, you need to do git add -A so that new files that are not yet in the stage are also displayed.

B
BANTIK, 2011-10-19
@BANTIK

Thanks a lot!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question