title: Ignoring line additions when using Git
body: <p>Is there any way to ignore the amount of added lines for specific files? For example, when adding <code>package-lock.json</code> to a commit, Git shows that I've added over 14k LOC, however that is obviously not true since this file is not actual code. </p>
  
  <p>I'm asking this because in thr context of a course we have at uni, the contribution is calculated by the size of our commits, and it would be unfair towards other teammates to not ignore specific files.</p>
  
  <p>How to count the lines for all the other files, except, for example, <code>package-lock.json</code>?</p>