Introduction to Git and WordPress

Jeffry Ghazally

@jghazally

This

is not

Perfect

1.Git

2.WordPress

Git ?

  • What is it
  • How to use it
  • How to use it with WordPress

Git - What is it ?

  • Distributed Version Control System
  • Track history and changes done to files
  • Helps teams collaborate on a project 
  • Fairly lightweight (Compared to the likes of SVN)
  • Easy to pick up

Git - What it isn't

  • Magic
  • Backup of your site - no assets, no db, no configs

Git - How to use it

  • Install it
  • Tools - Command Line, GitTower, SourceTree
  • Crash Course 

Git - Install it

https://git-scm.com/

Git - Tools

  • Command Line 
  • GitTower - https://www.git-tower.com/
  • SourceTree - https://www.sourcetreeapp.com/
  • Github Desktop - https://desktop.github.com/

Git - Crash Course

  • https://try.github.io/

Git - WordPress Considerations

  • WP-Config - Passwords and Salts
  • Uploads - Assets for the website
  • WP Core, 3rd Party Plugins
  • Database

Git - .gitignore

wp-config.php
cache
uploads

upgrades
stats