title: how to find out list of all changed files in git for full jenkins build and not for a particular commit?
body: <p>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 changed before that as well since last successful build. </p>
  
  <p>git show --pretty="format:" --name-only will do the build only for top commit changed files. Like this, i need to build for all changed files in different commits since last successful build. </p>
  
  <p>Like , last build done in Jenkins at X SHA-1 id, and after that , there are 3 more commits on top of it. So, my aim is to checkout whole repository codebase till head and then find out list of all files which got changed after X SHA-1 id , that are 3 commits on top of last commit at X SHA-1 id ? </p>
  
  <p>Thanks</p>