Skip to content

Instantly share code, notes, and snippets.

@kyubuns
Created September 11, 2018 03:14
Show Gist options
  • Save kyubuns/2d8b40984b471fe2dea596dbe7501b35 to your computer and use it in GitHub Desktop.
Save kyubuns/2d8b40984b471fe2dea596dbe7501b35 to your computer and use it in GitHub Desktop.
git status -s | grep -E '.meta$' | tee diff.txt
if [ -s diff.txt ]; then
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment