Implement init command
The following command should be used to install:
git syn install
The following output is desired:
Updated git hooks.
Git SYN initialized.
tree .git/hooks/
.git/hooks/
└── pre-push
0 directories, 1 files
cat .git/hooks/pre-push
#!/bin/sh
command -v git-syn >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git SYN but 'git-syn' was not found on your path. If you no longer wish to use Git SYN, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; }
git syn pre-push "$@"
Source: https://github.com/git-lfs/git-lfs/blob/master/lfs/hook.go
Edited by Lucas Ramage