Skip to content

Instantly share code, notes, and snippets.

@shirokoweb
Created February 17, 2018 21:14
Show Gist options
  • Save shirokoweb/ae935368c4eab305c7ee16af5ca8644c to your computer and use it in GitHub Desktop.
Save shirokoweb/ae935368c4eab305c7ee16af5ca8644c to your computer and use it in GitHub Desktop.
Cron job daily backup wp on GitHub
#!/bin/bash
git add . && \
git commit -a -m "Dayly BKP `date`" && \
git push origin stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment