D2: Repository Maintenance Best Practices
GH-900 GitHub Foundations exam practice questions · 10 flashcards
Question
Repo maintenance best practices?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Repository Maintenance Best Practices practice questions and answers
- Repo maintenance best practices?Clear README, license, contributing guide, protected main, CODEOWNERS, templates, labels, regular dependency updates.
- Why use branch protection?Prevent force pushes, require reviews and passing checks before merge.
- Keep repositories tidy?Delete merged branches, archive inactive repos, close stale issues.
- Automatic deletion of head branches?Repo setting to auto-delete branches after PR merge.
- Using releases?Package versioned software with notes and assets.
- Semantic versioning?MAJOR.MINOR.PATCH communicates impact of changes.
- Dependabot for maintenance?Automates dependency and security update PRs.
- Issue and PR templates?Standardize information contributors provide.
- Social preview image?Custom image shown when the repo is shared.
- Scenario: stop accidental direct pushes to main. Feature?Branch protection rule or ruleset on main.