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

mysql - How to insert just year and month into date field? -

c# - Detect changes in ObjectSet in Entity Framework 4.0? -