Join Kevin Skoglund for an in-depth discussion in this video Using the exercise files on GitHub, part of Ruby on Rails 6 Essential Training: Models and Associations.
- [Instructor] All of the Exercise files for this course, are freely available as a Github repository, and you can find it at this url. The repository has branches for each of the videos in the course. You can use the branch pop-up in you right here, to switch to a specific branch and review the code for a specific video. For example, the branch titled O1_O3, which show you the code on chapter one and the third video. The branch with the b at the end of the name, is the state of the code at the beginning of the video, and the branch with the e at the end, is the state of the code at the end of the video. You can also download the code to work along with me. If you're a Git user, you can clone the repository, by clicking on the code button, and then click on the clipboard icon to copy the url. Then you can type git clone, followed by pasting in that url. You'll also notice that the url is the same as the repository url, with .git at the end. And then you can navigate to the project from the command line and check out the branch you want. The movie O1_O1b is the start of the course. You don't need to know Git, or have a Github account to follow along. If you choose the branch you want, you can click code and then click the option to download a zip file containing the code for that branch only. Once it downloads you can decompress the file, and open it in a text editor to get started.