What if you made a typo or forgot to add something in the last commit message? Can you go back and fix it? Yes, you can by using git commit –amend. Here, let’s do it together.

Developing & Empowering WordPress Developers
Labs are hands-on coding projects that you build along with Tonya as she explains the code, concepts, and thought processes behind it. You can use the labs to further your code knowledge or to use right in your projects. Each lab ties into the Docx to ensure you have the information you need.
Each lab is designed to further your understanding and mastery of code. You learn more about how to think about its construction, quality, maintainability, programmatic and logical thought, and problem-solving. While you may be building a specific thing, Tonya presents the why of it to make it adaptable far beyond that specific implementation, thereby giving you the means to make it your own, in any context.
0 Videos Runtime
What if you made a typo or forgot to add something in the last commit message? Can you go back and fix it? Yes, you can by using git commit –amend. Here, let’s do it together.
0 Videos Runtime
Let’s walk through and discuss the pull request workflow. This process is your workflow for submitting your contribution for consideration to be added (merged) to the project. The steps: It starts on your local machine where you are building and validating your work in a branch. Then you push your branch to your forked copy of the project, i.e. in your GitHub project (which is the remote origin). Open a Pull Request and fill out relevant and informative information to tell the review team what your contribution is. If the project has a Continuous Integration (CI) server, your contribution is […]
0 Videos Runtime
The command git status gives you a report (view) of the current state of both your working directory and staging area. But it also gives you more information, such as different commands you can use. Let’s dive into the status.
0 Videos Runtime
Next, let’s dive into the git commit command. We’ll also talk about writing a more verbose commit message using the text editor. If you need to configure git to pop open your text editor of choice, click here for Mac or here for Windows.
0 Videos Runtime
Let’s rename our theme while we work through the process of adding small changes into the staging area. You can refer to the Git documentation here.
0 Videos Runtime
In this lab, you and I will change the GPL license version from 2.0 to 3.0. To get started, you need to create a new branch. Let’s do that together in this episode.
0 Videos Runtime
Next, you need to clean up the local and remote branch. Why? It’s not needed anymore as it’s been merged into the project. You and I will do that together. Then we’ll walk through how to go get the latest version of the develop branch so that your copy on your local machine is up-to-date.
0 Videos Runtime
You now have a local version of the repository on your machine. Plus, you have a forked version in your GitHub account. Let’s wire both of these to the original repository. To check what remotes are configured, type: git remote -v To add a new upstream remote, type: git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git Here is the article on GitHub.
0 Videos Runtime
To get a copy of the repository on your local machine, you do a git clone. Let’s do it together and look at what happens. You’ll also look at the current remote configuration by using git remote -v.
0 Videos Runtime
For you to contribute, the process starts when you make a copy of the shared, centralized repository. To do that, you fork a copy into your personal GitHub account. Here is a link to the repository you and I will be working on together in this lab.
Know the Code flies on WP Engine. Check out the managed hosting solutions from WP Engine.
WordPress® and its related trademarks are registered trademarks of the WordPress Foundation. The Genesis framework and its related trademarks are registered trademarks of StudioPress.
This website is not affiliated with or sponsored by Automattic, Inc., the WordPress Foundation, or the WordPress® Open Source Project.