Skip to content

Instantly share code, notes, and snippets.

@sadovnik
Created November 9, 2017 11:41
Show Gist options
  • Save sadovnik/d4b5b3d7bcafee981be74e0ce42cddcd to your computer and use it in GitHub Desktop.
Save sadovnik/d4b5b3d7bcafee981be74e0ce42cddcd to your computer and use it in GitHub Desktop.
lolcommits `.git/hooks/post-commit` configuration resolving black photo issue
#!/bin/sh
### lolcommits hook (begin) ###
LANG="en_US.UTF-8" && PATH="/Users/cyril/.rbenv/versions/2.3.5/bin:/usr/local/bin:$PATH" && if [ ! -d "$GIT_DIR/rebase-merge" ] && [ "$LOLCOMMITS_CAPTURE_DISABLED" != "true" ]; then lolcommits --capture --delay 1 --stealth --fork; fi
### lolcommits hook (end) ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment