Skip to content

Instantly share code, notes, and snippets.

@esfand
Forked from timmmmyboy/github-push.sh
Last active August 29, 2015 14:16
Show Gist options
  • Save esfand/e12dd17ec05052a584c1 to your computer and use it in GitHub Desktop.
Save esfand/e12dd17ec05052a584c1 to your computer and use it in GitHub Desktop.
Script to sync all changes between DokuWiki and GitHub
cd /home/username/public_html/data/pages/
git pull
git add -A
git commit -m "Dokuwiki external edit"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment