Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Git for WordPress Developers
Rating: 4.3 out of 5(84 ratings)
737 students

Git for WordPress Developers

Automating WordPress Version control
Created byRichard Miles
Last updated 11/2016
English

What you'll learn

  • Set up Git for a WordPress theme
  • Maintain WordPress plugins in Git
  • Automate, manage and migrate a WordPress database with Version control
  • Effectively manage WordPress file uploads in a version controlled environment

Course content

6 sections39 lectures4h 39m total length
  • Introduction to Git for WordPress Developers1:27

    An Introduction to the course

  • Some tools to look at before diving in1:31

    An introduction and brief look at the tools suggested for this course. This includes:

    • Sublime Text
    • Cygwin
    • Vagrant
    • Xampp
    • Wamp
    • Mamp
  • Introduction to git, github and gists6:27

    How to install git for your machine as well as a setup and brief introduction to GitHub. We also take a look at Gists

  • Walkthrough the Github interface5:55

    A look into how to create a repository, log issues, use the project dashboard and add collaborators among other minor Github settings.

  • Cloning a WordPress theme using git6:56

    How to clone the `_s` theme from automatic to our local machine and begin making changes to it in the context of version control. We also cover some bash navigation and file manipulation from the terminal.

  • Cloning a git repository
  • Introduction to git command line3:57

    Look at how to use the following commands in a WordPress theme example:

    • git status
    • git add
    • git commit
    • git log
  • Introduction to the git command line
  • Branching in git5:22

    A graphical representation of how branches in git work as well as a discussion of best practices in a collaborative environment.

  • Branching in git
  • Pushing to git from local using https4:18

    A practical example of how branches in git work using the command line interface as well as how to push changes to Github using https

  • Pushing to git from local using https
  • Creating a ssh key for Github4:14

    How to create a public and private ssh key that will later be added to Github for authentication.

  • Creating a ssh key for Github
  • Creating multiple ssh profiles on a single machine6:18

    How to creating additional ssh profiles on a single machine using a ssh config file. 

    A look at how to switch Github profiles on your machine.

    An introduction to the command line text editor `vim`.

  • Adding a ssh key to Github6:13

    How to find the contents of our public ssh key and add it to Github for ssh authentication.

  • Opening and merging a pull request on Github14:15

    How to create a Pull Request from a forked a repository as well as how it is merged.

  • Opening and merging a pull request on Github
  • Dealing with merge conflicts in Git and Github11:16

    Merge conflicts are something that need to be dealt with all the time in version control. Here we discuss how they are created and how to deal with them appropriately.

  • Dependency management in Git7:20

    How to install and make use of the Node Package Manager, Grunt and Sass in the context of a WordPress theme and Git.

  • Dependency management in Git
  • Introduction to the gitignore5:55

    What a gitignore file is, as well as how to use it in the context of dependency management in a WordPress site.

Requirements

  • A basic understanding of WordPress development
  • A development enviroment with a functioning WordPress installation

Description

There are a few simple truths that remain consistent despite the pace at which technology advances in the web development industry.

One of which is version control.

In this course I would like to take you through how to properly navigate, Git a system of version control for every aspect of your WordPress site including themes, plugins the database and uploads.

We will also dive into the command line moving away from graphical user interfaces, so to leverage the power of git and bash scripting.

In this course we will be covering how to:

  • Create a Free Account on Github

  • Install Git on a machine

  • Setup Version control on a WordPress site locally

  • Some basic bash scripting for git and WordPress

  • Properly link a local git repository to Github

  • The logistics of pushing and pulling to Github using nothing but the command line

  • How to properly setup javascript, css and task management dependencies for version control in WordPress

  • Write a portable bash script that can automatically download and install plugins as well as import and export a WordPress database

  • How to link a WordPress site to a Content Delivery Network for free, to simplify upload management and speed up your site dramatically

All while within the paradigm of using Github effectively in a collaborative environment

I have no doubt that if you are a WordPress developer and you are not currently using version control everyday that this course will be a massive additional bonus to your skill-set.

Who this course is for:

  • Intermediate - Senior WordPress Developers