Tagged articles

Branch Protection

3 articles · Page 1 of 1
Coder Trainee
Coder Trainee
Aug 26, 2026 · Operations

How a Single Git Mistake Rolled Back Three Days of Production Code

A developer mistakenly ran a hard reset and forced push on the main branch, rolling back three days of production code; the article walks through the incident timeline, impact assessment, emergency recovery steps, root‑cause analysis, and preventive measures such as branch protection and safer Git commands.

Branch ProtectionDevOpsForce Push
0 likes · 7 min read
How a Single Git Mistake Rolled Back Three Days of Production Code
Coder Trainee
Coder Trainee
Jul 21, 2026 · Fundamentals

Mastering Remote Git Collaboration: The Right Way for Team Development

This article walks through essential remote‑repository operations—cloning, pushing, pulling, conflict resolution, pull‑request workflow, branch‑protection rules, common scenarios and pitfalls—providing concrete commands and step‑by‑step guidance for effective multi‑developer Git collaboration.

Branch ProtectionGitRemote Collaboration
0 likes · 11 min read
Mastering Remote Git Collaboration: The Right Way for Team Development
Java Tech Enthusiast
Java Tech Enthusiast
Apr 24, 2024 · Information Security

Protecting Project Code with GitHub Branch Protection

To keep project code safe in GitHub, set repositories to private and enable branch protection rules that lock the main branch, block deletions and force pushes, require pull requests with at least two reviewers (and optionally Code Owners), and use a bypass list only when necessary.

Branch ProtectionGitHubTeam Development
0 likes · 3 min read
Protecting Project Code with GitHub Branch Protection