Change this command to showcase diff only if there are changes in . AND only if the name of the branch is not gh-page
git diff HEAD^ HEAD --quiet -- .
Turn this into a one liner
remove the second nested condition

Questions similaires

Related questions