Interview Prep/Git & GitHub/Recovery and incident handling

How do you detect a stale or orphaned deployment branch left in the pipeline?

IntermediateProductionRecovery and incident handling
Answer

Report on branches with no commits over N days and no open PR, scheduled weekly, and require a ticket or owner for any long-lived branch. Auto-delete merged PR branches.

All Git & GitHub questions Roadmap: Git & GitHub

More on Recovery and incident handling