Skip to content

Instantly share code, notes, and snippets.

View willsteinmetz's full-sized avatar

Will Steinmetz willsteinmetz

View GitHub Profile
@ilyakatz
ilyakatz / pre-commit
Last active February 22, 2023 14:51
helpful precommit hooks
#!/bin/bash -l
# A git hook script to find and fix trailing whitespace
# in your commits. Bypass it with the --no-verify option
# to git-commit
#
.git/hooks/pre-commit-master-no-no
if [[ $? == 1 ]]
then