How do you recover a lost commit with reflog?
The reflog records recent local movements of references such as HEAD. It can help recover commits after a reset or branch movement while the obje…
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1669–1680 of 3610 questions
The reflog records recent local movements of references such as HEAD. It can help recover commits after a reset or branch movement while the obje…
Tags name specific commits, commonly release versions. Annotated tags store metadata and are preferred for releases. Pushing a branch does not ne…
Semantic Versioning expresses a version as MAJOR.MINOR.PATCH: major for incompatible public API changes, minor for backward-compatible functional…
A pull request (PR) proposes changes from a source branch into a target branch. It provides a review discussion, diff, automated checks, approval…
A good PR describes the problem, the solution, user-visible impact, testing performed, risks, screenshots when relevant, and linked issue. It sho…
Review correctness, design, readability, security, performance, tests, and maintainability. Ask specific, respectful questions and distinguish bl…
Branch protection rules or rulesets can require pull requests, approvals, status checks, signed commits, linear history, or restrict force pushes…
A `CODEOWNERS` file maps paths to owners. GitHub can automatically request reviews from those owners, helping route changes to people responsible…
GitHub Actions is GitHub's automation platform. Workflow YAML files define events, jobs, runners, steps, and optional reusable actions to automat…
A pipeline automates repeatable steps from source change through validation and delivery. Continuous integration validates each change; continuou…
Continuous integration frequently integrates changes and validates them automatically. Continuous delivery ensures a release can be deployed with…
A workflow is a YAML automation triggered by events. A workflow contains jobs; jobs run on runners and contain steps. Steps run shell commands or…