How to find all changed files since last commited build in GIT ? I want to build not only the changed files at head revision but also, all the changed files which got chang
Maybe this is what you are looking for:
git whatchanged origin/master -n 1
This will tell you all changed files since last commited build.
To know more about git-whatchanged command: https://git-scm.com/docs/git-whatchanged/1.8.3
Also, if you want to know the changes of previous commit only, the modified command is:
git whatchanged -n 1
Hope this help.