1 2 3 4 5 6 7
#!/bin/bash # Update the system checkout of hackers.git echo '==> Updating system checkout...' unset GIT_DIR cd /var/lib/hackers-git git pull