Source: www.georgebuckingham.com

Working with WordPress & GIT
https://www.georgebuckingham.com/tag/wordpress/ Avoid cowboy coding techniques and learn how to keep your WordPress website project in GIT version control.

mkdir www.myproject.com && cd www.myproject.com git init touch README.md git add README.md git commit -m "Inital commit of files."

cd wordpress git checkout 3.9 cd../ git commit -am "Checked out the latest WordPress version."

git commit -m "Copied editable and important WordPress files out from the WordPress directory."
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners