Learn eight power-user Git commands that can save time, prevent bugs, increase productivity, and reduce frustration.
Overview
Syllabus
Introduction
- Git superpowers
- What you should know
- Setting up for Git superpowers
- Using GitHub Codespaces with this course
- Using the exercise files
- Learn to stash
- Three ways to add changes to Git
- Challenge: Partial add
- Solution: Partial add
- Pushing code explicitly
- Undoing a commit
- Challenge: Rename commit and move to a different branch
- Solution: Rename commit and move to a different branch
- Pre-commit
- Log
- Amend, revert
- Challenge: change, commit, revert
- Solution: change, commit, revert
- Open code editor with "."
- Challenge: Fork a repo and code
- Solution: Fork a repo and code
- Next steps
Taught by
Ronnie Sheer