We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
On the Pi:
Login and:
mkdir isthetoiletfree.git cd isthetoiletfree.git git init --bare cat >> hooks/post-receive
Paste:
#!/bin/sh unset GIT_DIR cd /home/pi/isthetoiletfree git fetch --all git reset --hard origin/master supervisorctl restart ittf
[Ctrl-D] to save and exit.
[Ctrl-D]
chmod +x hooks/post-receive cd git clone isthetoiletfree.git cd isthetoiletfree cat >> .hmac_secret # Add your HMAC secret [Ctrl-D]
On your machine:
git remote add pi [email protected]:isthetoiletfree.git
That's it. You can now:
git push pi master