Learn how to use Git, the popular open-source version control software, to manage the source code for almost any project.
Overview
Syllabus
Introduction
- Use Git version control software to manage project code
- Version control
- The history behind Git
- About distributed version control
- Install Git on a Mac
- Install Git on Windows
- Install Git on Linux
- Basic Git configuration
- Git auto-completion
- Git help
- Initialize a repository
- Where Git files are stored
- Your first commit
- Write a commit message
- View the commit log
- The three trees
- Git workflows
- Hash values (SHA-1)
- The HEAD pointer
- Add files
- Edit files
- View changes with diff
- View only staged changes
- Delete files
- Move and rename files
- The Explore California website
- Initialize Git
- View file edits
- Stage and commit shortcut
- View a commit
- Compare commits
- Multiline commit messages
- Make atomic commits
- Challenge: Client edits
- Solution: Client edits
- Undo working directory changes
- Unstage files
- Amend commits
- Retrieve old versions
- Revert a commit
- Remove untracked files
- Use .gitignore files
- Ideas on what to ignore
- Globally ignore files
- Ignore tracked files
- Track empty directories
- Next steps
Taught by
Kevin Skoglund