Summary1:47 with Jay McGavren
Let's review everything we've learned in this course.
Common Git Commands
- Starting a repo
- Committing files
- Managing committed files
- Working with remotes
But there are other important features we haven't covered, such as branches and merging file changes. You can learn more about those in our Git Branches and Merging course.
Practice and Further Reading
- Try using Git for all your Treehouse projects. If you have any saved project folders already, use
git initto convert them to Git repos, then commit all your files. And for any new projects you create, use Git from the very start. Not only will this let you practice using Git, it will give you more protection against losing your work.
- We've set up a copy of the practice repo from Stage 2 on GitHub. Try forking it, cloning it to a local repo, making changes, and then pushing them back up to your forked repo.
Atlassian, creators of BitBucket, have an excellent set of Git tutorials as well.
If you haven't installed or used Git on your computer yet, and you want to, see the Teacher's Notes section of this video's page.
On many systems, Git is configured to use the
vi text editor by default. You may want to familiarize yourself with basic
In this course we've covered the commands that all git users, 0:00 from beginners to professionals developers, need to use most frequently. 0:03 We've learned about how to turn a project folder into a git repo using git init. 0:07 We saw how to stage paths using git add and 0:12 how to commit them by using git commit. 0:15 We checked whether files were modified, staged, or committed, using git status. 0:17 And we looked over our previous commits using git log. 0:22 We moved and deleted committed files, using the git mv and git rm commands. 0:25 We learned about the Commit SHA checksums displayed in git log and other places. 0:30 We saw how SHAs can be used with commands like git revert to 0:35 undo changes from a specific commit. 0:39 And we learnt about remote repositories. 0:42 How to create a new one using git clone. 0:44 How to pull changes from one repo to another using git pull. 0:47 How to add new remote repos using git add. 0:51 And how to push changes to those repos with git push. 0:54 But there are other important features we haven't covered, such as branches, 0:57 emerging file changes. 1:01 See the teacher's notes for ways to learn more about those. 1:03 If you want to try installing git on your own computer, 1:06 the teacher's notes will have info about that too. 1:08 You've learned a lot, but it's important not to stop now. 1:11 Practice is the key to making your knowledge stick. 1:14 One thing you can do is use Git for all your treehouse projects. 1:18 If you have any saved project folders already, 1:21 use git init to convert them to git repos then commit all your files. 1:24 And for any new projects you create use Git from the very start. 1:29 Not only with this let you practice using Git. 1:33 It will give you more protection against losing your work. 1:35 Congratulations, you finished the course. 1:39 Be sure to check the teacher's notes for more practice ideas and further reading. 1:42 Thanks for watching. 1:46
You need to sign up for Treehouse in order to download course files.Sign up