Does the number of lines of code submitted by git include changes in package-lock.json?

$ git log --author="$(git config --get user.name)" --pretty=tformat: --numstat | gawk "{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }" -

git has this command to count the number of lines of code submitted, but I don"t know whether the result includes the changes in package-lock.json , because package-lock.json automatically deletes many lines of code when submitted on two computers.


package-lock.json I think you have made some changes to the dependencies in package

Menu