Welcome back! If you missed part 1 of this tutorial feel free to check it out here. We’ve covered the basics of creating a Git repo and pushing it to GitHub, and now we’re going to look into branching.
Branching is super helpful when multiple people are working on the same project, but can be great for individuals who want to work on different aspects or features without getting them mixed up. To picture how branching works, imagine you were working on a group assignment (ugh, I know) . You make a start, and send a copy to your partner. Their copy is like a separate git ‘branch’. It’s from the same project, but not the same exact version. If you continue to make changes and they add in some changes, you’re going to end up with two versions of the same project.… Read more...
So one of the things that you hear a lot when learning to code is that you absolutely, positively, without-a-doubt need to be using version control, or more specifically, you need to be using Git.
There are some great tutorials around for learning how to use Git, but it’s hard to make sense of them until you’ve used it in a real scenario – so this tutorial will be talking through how and when to use the different git commands and will try to eliminate the jargon wherever possible!
For this tutorial I’ll be showing you how to get your work onto GitHub, but the process is almost identical for other sites such as GitLab and BitBucket.
The GitHub Octocat
So What Is This Version Control Thing Anyway?
… Read more...
Then came Sinatra – and ol’ Blue Eyes certainly sings a beautiful song.… Read more...