Learn GitHub: Best Practices
Habits that make shared repositories pleasant to work in: pull requests that are easy to review, a clean history with rebase, a tidy and safe repository, and good manners when you contribute through forks.
- Beginner level
- 4 modules
- 12 lessons
- 60 quiz questions
Syllabus
01Pull Requests People Want to ReviewWrite pull requests that explain themselves, review and draft them with good manners, and pick the merge method that leaves the history you want.3 lessons
02A History Worth ReadingMerge and rebase compared, tidying commits with interactive rebase, and the safety rules that keep a rewritten history from hurting teammates.3 lessons
03A Tidy and Safe RepositoryKeep generated files and secrets out of Git with .gitignore, fix a file that was committed by mistake, and use roles, branch protection and CODEOWNERS to guard the branches that matter.3 lessons
04Contributing to Other People's ProjectsFork a repository, keep your copy current with the original, and contribute with a good issue, a pull request and a good README, CONTRIBUTING file and license of your own.3 lessons