git reports - get changed files -


due bureaucracy, need list of changed files in repository(i started existing source code).

what should run list?

for files changed between given sha , current commit:

git diff --name-only <starting sha> head 

or if want include changed-but-not-yet-committed files:

git diff --name-only <starting sha> 

more generally, following syntax tell files changed between 2 commits (specified shas or other names):

git diff --name-only <commit1> <commit2> 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -