GitHub Pull Requests
5 min read Quiz at the end
Open PRs on GitHub: create feature branch, push, open PR, request review, and merge.
GitHub Pull Requests
# Pull Request Workflow:
# 1. Fork the repo (if external contributor)
# 2. Clone your fork
# 3. Create a feature branch
git switch -c feature/add-login
# 4. Make commits
git commit -m "feat: add login page"
# 5. Push branch
git push origin feature/add-login
# 6. Open PR on GitHub
# - Title: feat: add user login system
# - Description: what, why, how
# - Link to issue: Closes #42
# 7. Code review, address feedback
git commit -m "fix: address review comments"
git push origin feature/add-login
# 8. Merge (squash, merge commit, or rebase)
# 9. Delete branch