Resharper format pre-commit hook. It uses resharper to format all the files you're committing, and automatically restages them.
Get the latest version using bash, by running this command in the root of your repository:
curl -s https://raw.githubusercontent.com/GeeWee/resharper-pre-commit-hook/master/install-git-hook.sh | bash
Note that this runs a shell script on your computer. You might want to review the script before running it.
MIT