a guest Nov 14th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- modified=$(git ls-files --modified ..)
- if [[ $modified ]]; then
- echo "The following files are not following a guideline:"
- echo $modified
- git diff
- exit -1
RAW Paste Data