Using GitLab for WordPress Theme Source Control and Automated Deployment

Lesson 1 - GIT GitLab and Source Control

Source control is important because it allows you to track changes to your code and rollback if you have made a mistake, it also allows to more easily colaborate with multiple developers working on the same project.

a) Install GIT

b) Sign up for GitLab -
This is where we will be storing our code which will later be used for deploying to our WordPress installation.

c) Create a branch to work on your code
git checkout -b mywordpresstheme

d) Commit and Push code to your gitlab repository

git add .
git commit -m "my initial commit"
git push

e) Configure GitLab CICD Pipeline for AutoDeployment

Leave a comment

Your email address will not be published. Required fields are marked *