I am working on a git repository which contains huge number of files changed b/w one commit to another, how to extract the number of files changes b/w commits.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT: "this will always count the files plus one, cause the
--format=onelineincludes the commit-hash/header" as mentioned by c00kiemon5terThe
git whatchangedtool shows you a summary of files that were modified. By itself it lists all commits, but you can also limit it to just the recent n commits:To count files:
See
git help whatchangedfor details.