1 2 3 4 5 6 7 8
#!/bin/sh -e # Wiki update cd ~/Wiki [ "$(git status --porcelain)" ] && git add . && git commit -m update git pull git push