Skip to content

Instantly share code, notes, and snippets.

@timmmmyboy
Created November 22, 2013 02:42
Show Gist options
  • Save timmmmyboy/7593909 to your computer and use it in GitHub Desktop.
Save timmmmyboy/7593909 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