GitHub's merge queue silently rewrote main branch history on April 23rd. The pattern: PR shows a +29 / -34 diff. Reviewed, approved, queued. What lands is +245 / -1,137 — thousands of lines of already-shipped code quietly removed. Every merge after that stacks on the broken history. UI shows nothing wrong. GitHub says 2,800 PRs out of 4 million. One company reported 200+ on its own. Pick a number. The part nobody's saying out loud: for history to get overwritten like this, something is force-pushing to main behind the scenes. Branch protection apparently doesn't apply to GitHub itself. Worth thinking about what else moves through that path silently. The deeper issue isn't the bug. Bugs happen. The issue is that "distributed version control" became a single vendor's merge button for most of the industry, and the merge button lied for a day. Git itself was fine the whole time. It always is. I run my own Gitea. Recommend it. #GitHub #Git #DevOps #Gitea #SelfHosted #SoftwareEngineering
Frode Nilssen’s Post
More Relevant Posts
-
So GitHub now lets orgs disable commit comments. I can already hear the collective sigh of relief from maintainers drowning in long-dead discussions on ancient lines of code. Or maybe a collective groan from those who loved the context? Either way, a powerful new admin lever. What's your take on this cleanup? #GitHub #DevOps
To view or add a comment, sign in
-
🚨 Issues with #GitHub today? We’re seeing instability across the platform: ❌ Push & pull delays ❌ Pull Requests not loading ❌ Actions (CI/CD) failing or stuck ❌ Overall slow performance This is not a local issue — it’s affecting multiple environments. 💡 What I did (and what I recommend): I moved to running my own Git server using Gitea Open Source — and honestly, this is something more teams should consider. https://git.xdeye.com/ 👉 Here’s the practical advice: ✔️ Keep a self-hosted Git backup (Gitea / GitLab / bare repo). ✔️ Push your code to multiple remotes (GitHub + your own server). ✔️ Don’t depend fully on GitHub Actions — have manual or server-based deployment ready. ✔️ Keep production deployment independent from third-party outages. ✔️ Automate locally or on your own server where possible. Now my workflow is: Local → self-hosted Git → live servers GitHub is secondary, not critical ⚠️ With the growing use of AI tools and third-party automation inside CI/CD pipelines, complexity and risk are increasing. When one piece fails, everything can break. Better to stay in control. How are you handling redundancy in your Git workflow? #GitHub #DevOps #SelfHosted #Gitea #CI #CD #Security #ITInfrastructure
To view or add a comment, sign in
-
-
I stopped fearing Git the day I learned these 20 commands.....😎 . . Most of us learn `git init`, `git add .`, and `git push` but GitHub is so much more than that. Here’s a quick breakdown I’ve covered in the PDF I’m sharing today: `git init` - Start a new repo `git add .` - Stage all files `git commit -m "message"` - Save the snapshot `git push origin main` - Push to GitHub `git pull origin main` - Get latest changes `git checkout -b branch-name` - Create & switch to a new branch `git log` - View history `git reset --hard` - Rollback changes `git stash` - Save work temporarily `git clean -fd` - Delete untracked files & dirs `git cherry-pick` - Pick specific commits `git rebase` vs `git merge` - When to use what This PDF is your mini GitHub survival kit Don't forget to follow Asif Ali Quraishi ♞ for more 🔥 Comment "Github" and I’ll DM you the PDF Join the group for more hiring updates : https://lnkd.in/gkrqgy_s Tag a dev friend who still says “GitHub scary hai” 😅 #GitHub #GitCommands #CheatSheet #Git
To view or add a comment, sign in
-
𝗠𝗮𝗻𝗮𝗴𝗶𝗻𝗴 𝗺𝘂𝗹𝘁𝗶𝗽𝗹𝗲 𝗚𝗶𝘁𝗛𝘂𝗯 𝗮𝗰𝗰𝗼𝘂𝗻𝘁𝘀 𝘀𝗵𝗼𝘂𝗹𝗱𝗻’𝘁 𝗯𝗲 𝘁𝗵𝗶𝘀 𝗽𝗮𝗶𝗻𝗳𝘂𝗹… 𝗯𝘂𝘁 𝗶𝘁 𝗶𝘀. Over the past few months, I kept running into a frustrating issue: using work + personal GitHub accounts on the same machine without breaking SSH or mixing identities. So I built a clean, repeatable SSH setup that solves the following: • Authentication conflicts • Wrong-account commits • Broken push/pull workflows What’s inside the guide: • Separate SSH keys per account • Smart aliasing via ~/.ssh/config • Per-repo Git identity setup • Quick debugging checks The goal was simple: 👉 Make it predictable and production-safe—not just “works on my machine." If you’ve ever pushed code from the wrong account… you know the pain. 😅 🔗 GitHub repo: https://lnkd.in/dFH75WvV If this helps, consider giving the repo a ⭐ #github #git #ssh #developers #webdev #softwareengineering #opensource
To view or add a comment, sign in
-
-
Your code lives in two places. Your laptop and GitHub. They do not automatically stay in sync. git push sends your local commits to GitHub. Your teammates can now see your work. git pull brings their new commits to your laptop. You are now up to date. That is the entire model. Push sends. Pull receives. Always pull before you push. It saves you from unnecessary merge conflicts. #Git #GitHub #SoftwareEngineering #VersionControl #DevOps
To view or add a comment, sign in
-
-
Hard freeze: the system won't let you merge. Soft freeze: "please don't merge." Guess which one works. Every "Slack-message-and-hope" freeze I've seen eventually gets violated. Sometimes by a well-meaning engineer who missed the thread. Sometimes by a contractor who isn't even in the channel. Sometimes by the merge queue itself, which doesn't read Slack at all. The fix isn't better communication. It's a required status check that says no. NoShip turns your freeze into a GitHub check that blocks merges at the source — across every repo, every branch, every environment. Policy becomes control. No honor system required. #CodeFreeze #DevOps #GitHub #SRE #PlatformEngineering #DeploymentSafety #EngineeringLeadership #ChangeControl
To view or add a comment, sign in
-
GitHub Branch Protection: Advanced Rules for Status Check Dependencies Master advanced branch protection configurations that go beyond basic reviews. Learn to set up dependent status checks, automatic review dismissal, and linear history enforcement for enterprise-grade code quality control. Read the full how-to guide: https://lnkd.in/gB3fSePc #ITTips #Productivity #DevOps #GitHub #TechTips #OpenSource #SoftwareDevelopment #BranchProtection #CodeQuality #GitWorkflow
To view or add a comment, sign in
-
GitHub's latest update is a welcome relief for notification fatigue! They're tweaking notification retention periods and, even better, archived repository watches won't be sending you alerts anymore. Finally, some peace for those old, dusty projects! 🙌 A small change, but it really helps keep the focus on what matters. #GitHub #DevOps
To view or add a comment, sign in
-
I stopped fearing Git the day I learned these 20 commands.....😎 . . Most of us learn `git init`, `git add .`, and `git push` but GitHub is so much more than that. Here’s a quick breakdown I’ve covered in the PDF I’m sharing today: `git init` - Start a new repo `git add .` - Stage all files `git commit -m "message"` - Save the snapshot `git push origin main` - Push to GitHub `git pull origin main` - Get latest changes `git checkout -b branch-name` - Create & switch to a new branch `git log` - View history `git reset --hard` - Rollback changes `git stash` - Save work temporarily `git clean -fd` - Delete untracked files & dirs `git cherry-pick` - Pick specific commits `git rebase` vs `git merge` - When to use what This PDF is your mini GitHub survival kit Don't forget to follow Swadesh Kumar for more 🔥 Comment "Github" and I’ll DM you the PDF Join the group for more hiring updates : https://lnkd.in/gkrqgy_s Tag a dev friend who still says “GitHub scary hai” 😅 #GitHub #GitCommands #CheatSheet #Git
To view or add a comment, sign in
-
Another addition to last week's hot news: Github messed up big time on PR merges on 23rd April for 4 hours.. In some cases, commits were effectively rolled back or overwritten without it being obvious. People noticed PRs with small diffs turning into massive commits, or entire chunks of previously merged work quietly disappearing. One report mentioned a single merge undoing ~20 PRs 👀. Some links about this fiasco: https://lnkd.in/gKkeiPHf https://lnkd.in/gPxkf9c8 https://lnkd.in/gYfkDUkp You had one job Github!! Update: Another RCE on "git push" of all things, that got discovered and patched on the same day. God only knows if (and for how long) it was being exploited in the wild: https://lnkd.in/g_eKN-NQ https://lnkd.in/grCXAz8R #github #disaster #coding #codemerge
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
That’s the uncomfortable part, Frode, it’s not just the bug, it’s where the control actually sits. When something like this happens, you realise how much we’ve centralised workflows that were meant to be distributed. I’ve seen teams assume branch protection is absolute… until something bypasses it. Git being fine while the layer above it breaks says a lot. Do you think more teams will move back to self-hosted, or just add more safeguards on top?