I stopped using git push. Here's why: Every developer knows the frustration of pushing code only to watch the CI/CD pipeline fail 10 minutes later. It's a waste of time, breaks the flow, and clutters your commit history with fix-up commits. My solution? A custom npm run push script. This script ensures that ALL DevOps checks—linting, tests, type checking, whatever your team requires—run locally BEFORE the code ever leaves your machine. The benefits are significant: • Faster feedback loops (seconds vs. minutes) • Cleaner commit history • Reduced CI/CD costs • Less context-switching while waiting for remote builds • Catches issues when they're cheapest to fix It's a simple shift-left approach that has saved me countless hours. The best part? It takes 5 minutes to set up and pays dividends forever. What's your pre-push workflow look like? #DevOps #SoftwareEngineering #DeveloperProductivity

To view or add a comment, sign in

Explore content categories