Skip to content

Instantly share code, notes, and snippets.

@villesau
Created November 8, 2021 20:40
Show Gist options
  • Save villesau/bd4994879257141dc8431b3d25b72807 to your computer and use it in GitHub Desktop.
Save villesau/bd4994879257141dc8431b3d25b72807 to your computer and use it in GitHub Desktop.
Has folder changed between merges
git diff --quiet HEAD $(git rev-list --max-count=1 --merges --skip=1 HEAD) -- $FOLDER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment