Learn to track and manage changes. This course covers the essentials of using the version control system Git. You'll be able to create a new Git repo, commit changes, and review the commit history of an existing repo. You'll also learn how to keep your commits organized using tags and branches and you'll master the art of merging changes by crushing those pesky merge conflicts.
Class Deals by MOOC List - Click here and see Udacity's Active Discounts, Deals, and Promo Codes.
Oh no! Was a mistake made along the way? Learn how to edit commits, revert changes, or even delete commits.
React is completely transforming Front-End Development. Master this powerful UI library from Facebook with Udacity.
What You Will Learn
Lesson 1
Purpose & Terminology
- Learn why developers use version control and discover ways you use version control in your daily life
- Get an overview of essential Git vocabulary
- Configure Git using the command line
Lesson 2
Create a Git Repo
- Create your first Git repository with git init
- Copy an existing Git repository with git clone
- Review the current state of a repository with the powerful git status
Lesson 3
Review a Repo's History
- Review a repo's commit history git log
- Customize git log's output using command line flags in order to reveal more (or less) information about each commit
- Use the git show command to display just one commit
Lesson 4
Add Commits to a Repo
- Master the Git workflow and make commits to an example project
- Use git diff to identify what parts of a file have been changed in a commit
- Learn how to mark files as "untracked" using .gitignore
Lesson 5
Tagging, Branching, and Merging
- Organize your commits with tags and branches
- Jump to particular tags and branches using git checkout
- Learn how to merge together changes on different branches and crush those pesky merge conflicts
Lesson 6
Undoing Changes
- Learn how and when to edit or delete an existing commit
- Use git commit's --amend flag to alter the last commit
- Use git reset and git revert to undo and erase commits