WooHoo! You did! You now have a solid baseline of git commands that run a series of tasks for you. The intent is to make your job easier and git you productive.
In this episode, you and I will change the GPL license from 2.0 to 3.0 in the new branch we created. You can get the license here.
In the last episode, you created a new branch. But doing a git branch change/license did not move you into that new branch. How do you switch into a different branch? In git, we use a “checkout” process. That lets you switch and move around into different branches. Let’s do it together.
Let’s talk about the branch workflow. A branch is an isolated container where you can work on a specific task, i.e. your contribution. In this episode, you’ll learn about a branch and get an overflow of the workflow.
In this episode, let’s use the rebase strategy for updating the branch. We’ll repeat the same process as we did in the merge strategy.
Let’s put it all together by making 2 more commits. Then we’ll push both of them to GitHub.
There are times when you are working that you stage a file and then decide not to include it in the commit. How can you unstage that file? Or what if you want to unstage all of the files? Here, let me show you in this episode.
Let’s get your new repository hosted on GitHub. In this lab, you and I will create a new GitHub repository, create a .gitignore file, configure our repo to know that it should be wired to GitHub, and then push our code to GitHub. Let’s do it together.
In this episode, let’s talk about what you will be doing in this hands-on coding lab. We’ll also talk about what you need to have installed, setup, and configured on your local machine in order to do this lab. Make sure you have git installed and globally configured. If no, go do either the Mac or Windows Local Development Setup lab.
Let’s dive into git log to uncover what information it provides to you, how to format the information, and how you can filter to find what you are looking for in the report. Remember, the log is a report of your commit history.