@dtanzer Add this to you precommit hook:
if ! git diff-index --quiet HEAD -- ; then echo 'You have uncommited changes!'
&& exit 1; fi
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
@dtanzer Add this to you precommit hook:
if ! git diff-index --quiet HEAD -- ; then echo 'You have uncommited changes!'
&& exit 1; fi