Skip to content

Instantly share code, notes, and snippets.

View manishsuwal's full-sized avatar

Manish Suwal manishsuwal

View GitHub Profile
@raamdev
raamdev / update-wp-child-theme-from-github.sh
Created December 30, 2014 17:06
Updates a WordPress theme with the latest code from GitHub
#!/bin/bash
# -------------------------------------------------------------------
#
# This script updates a WordPress theme with the latest code from
# GitHub. You can set it to run as a cronjob to automatically update
# a WordPress theme with the latest code from the master branch (or
# any branch that you want).
#
# Be sure to chmod +x this file so that it can be executed via Cron.
#