How to use the popular distributed version control tool.
Contains 6 hours of training - equivalent to 1 day's live training.
Having problems? check the errata
Introduction 11m 33s We start the course by explaining what GIT is, we cover some of the basic concepts, and then explain the structure of the course. |
Preview |
Getting Started 21m 33s We show how to install Git on Windows, Mac and Linux machines, and then learn how to create a new git repository and place a file into it |
Watch |
Working with Git 29m 21s We'll now start to use Git in a typical development scenario, practicing creating files, adding them to the repository, and then reviewing the changes. We also see how Git creates objects for the files in our repository. |
Watch |
Undoing commits and stashing 42m 20s We learn how to correct simple mistakes - reverting a commit (rolling the code back to the previous version) and, retrieving files deleted in error. We then see how to use the stash to temporarily save the current edits, and we see how to split changes into multiple commits by splitting the changes into hunks. |
Watch |
Branching 59m 8s We explain what a branch in GIT is, and how to create new branches and merge branches together using the fast forward and recursive strategies. We also cover how to use tags. |
Watch |
Merging and rebasing 56m 51s In this chapter we explore how to deal with different types of conflicts that Git will detect when merging branches (renaming, text and binary conflicts). We then understand why rebasing can be a useful tool to simplify the merging process, and we learn how to use it. |
Watch |
Navigating the repository 25m 18s As we commit changes to our repository the structure can get quite complex. In this chapter we use Git's command line tools to learn how to navigate and find commits within our repository. We also explore how to view differences between commits. |
Watch |
Rewriting history 62m 34s We understand how you can change historic commits to correct mistakes, with a discussion of why and when you should do this. We'll also revisit rebasing and see a more advanced example with merge bubbles. |
Watch |
Remote repositories 43m 13s In this chapter we learn how to connect to and work with a remote repository, and how to convert an existing repository into a bare repository that other users can connect to. |
Watch |
Course Summary 1m 33s A short summary and suggestions of where to go next |
Watch |