# Exit with code 1 if the FILE has *modified* lines git diff --quiet $FILE || [ $(git diff --numstat $FILE | cut -f 2) = '0' ] # Output a visual graph of commits git log --all --graph --pretty='format:%C(auto)%h% D%Creset %Cgreen%an, %ar%Creset %C(white)(%s)%Creset'