Skip to content
Snippets Groups Projects
Commit b8794337 authored by nimrod's avatar nimrod
Browse files

- Added a Git hook to install the Git hooks.

parent 2caf20d7
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -eu
cd "$(git rev-parse --show-toplevel)"
echo Installing Git hooks
Documents/bin/install-git-hooks
echo Generating SSH config
Documents/bin/gen-ssh-config
echo Loading dconf config
......
......@@ -22,9 +22,7 @@ WARNING: This will overwrite your existing files.
sed -i '/bare/d' .git/config
git reset --hard
git bull
cd .githooks
find -type f -exec ln -sf ../../.githooks/{} ../.git/hooks/ \;
cd ../
Documents/bin/install-git-hooks
License
-------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment