Skip to content

Instantly share code, notes, and snippets.

@jarodsmk
Created June 1, 2018 07:42
Show Gist options
  • Save jarodsmk/1255541c061a56b16efb2a4eb0b6c687 to your computer and use it in GitHub Desktop.
Save jarodsmk/1255541c061a56b16efb2a4eb0b6c687 to your computer and use it in GitHub Desktop.
Post commit hook to update the files in your git index
#!/bin/sh
git update-index -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment