git: how to quickly find and see changes in last commits

Very well know situation: you want to see changes in the concrete file between last commits. Only what was changed…

glchng

Usage

# installation

curl https://gist.githubusercontent.com/podanypepa/bc92763e11c404de9f271fa8f9d55217/raw/8ca422018fe00d1d93c9f611a6aa5c3c6d97d2c7/glchng > glchng
chmod a+x glchng
mv glchng ~/bin

# using

cd ./your-repo-dir

# changes between last commits
glchng ./your-file-name

# or if you want to see all changes in 10 last commits
glchng ./your-file-name 10

fast and comfy