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

- Added git hooks directory and installation instructions to README, for now...

- Added git hooks directory and installation instructions to README, for now just regenerate the SSH config after merge (and therefore pull).
parent 401b2252
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -eu
. .bashrc
gen-ssh-config
...@@ -20,6 +20,9 @@ WARNING: This will overwrite your existing files. ...@@ -20,6 +20,9 @@ WARNING: This will overwrite your existing files.
cd .. cd ..
rm -r rcfiles rm -r rcfiles
git submodule update --init --recursive git submodule update --init --recursive
cd .githooks/
find -type f -exec ln -sf ../../.githooks/{} ../.git/hooks/ \;
cd ../
In older versions of Git the paths in the submodules are obsolete and thus need In older versions of Git the paths in the submodules are obsolete and thus need
to be corrected (before fetching them). The correction needs to be done in the to be corrected (before fetching them). The correction needs to be done in the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment