We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba64ce commit a6948f0Copy full SHA for a6948f0
hook.sh
@@ -1,7 +1,20 @@
1
#!/bin/bash
2
3
cd .git/hooks
4
+
5
+if [ $? -ne 0]; then
6
+ echo 'I need git proj!(╯‵□′)╯︵┻━┻'
7
+ exit 1
8
+fi
9
10
wget https://gist.githubusercontent.com/Desgard/f2c34e4586eb92d50a6a10d0cac7dc0a/raw/61e51756b5fdc8ddae617d01d684ff3f2a4cc331/commit-msg.py -O post-commit >/dev/null 2>&1
11
sudo chmod 755 post-commit
12
13
+echo ' _/ _/'
14
+echo ' _/_/_/ _/_/_/ _/_/_/ _/ _/'
15
+echo ' _/ _/ _/ _/ _/ _/_/'
16
+echo ' _/ _/ _/ _/ _/ _/ _/'
17
+echo ' _/ _/ _/_/_/ _/_/_/ _/ _/'
18
+echo ''
19
20
echo -e '\033[44;37;5m The deployment for githook is completed ! \033[0m 😎 '
0 commit comments