Is there anyway to see how a file\'s size has changed through time in a git repository? I want to see how my main.js file (which is the combination of several files and mini
In case this is of use for someone, this script will show the size of a given file in different commits:
git log | grep "^commit" | cut -f2 -d" " | while read hash; do echo -n "$hash -- " git show $hash: | wc -c done