Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
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,
from beginners to professionals developers, need to use most frequently.
We've learned about how to turn a project folder into a git repo using git init.
We saw how to stage paths using git add and
how to commit them by using git commit.
We checked whether files were modified, staged, or committed, using git status.
And we looked over our previous commits using git log.
We moved and deleted committed files, using the git mv and git rm commands.
We learned about the Commit SHA checksums displayed in git log and other places.
We saw how SHAs can be used with commands like git revert to
undo changes from a specific commit.
And we learnt about remote repositories.
How to create a new one using git clone.
How to pull changes from one repo to another using git pull.
How to add new remote repos using git add.
And how to push changes to those repos with git push.
But there are other important features we haven't covered, such as branches,
emerging file changes.
See the teacher's notes for ways to learn more about those.
If you want to try installing git on your own computer,
the teacher's notes will have info about that too.
You've learned a lot, but it's important not to stop now.
Practice is the key to making your knowledge stick.
One thing you can do is use Git for all your treehouse projects.
If you have any saved project folders already,
use git init to 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 with this let you practice using Git.
It will give you more protection against losing your work.
Congratulations, you finished the course.
Be sure to check the teacher's notes for more practice ideas and further reading.
Thanks for watching.
You need to sign up for Treehouse in order to download course files.Sign up