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
Post a Comment