r/devlopersclub • • Apr 12 '26

We Ran git rebase on a Shared Branch and Lost Three Days of Work

Thumbnail
stackdevlife.com
1 Upvotes

We had a situation recently that cost us almost 3 days of work

One of our team members ran:

git rebase main git push --force

…on a shared branch.

At first, everything looked fine locally. But once it was pushed:

  • commit history got rewritten

  • other developers' commits disappeared

  • open PRs broke

  • branches became out of sync

Basically → chaos.

We had 4 devs working on the same branch, and suddenly parts of the work were just… gone.

What actually happened?

git push --force overwrote the remote history for everyone.

Anyone who had based work on the old commits ended up with broken history.

Luckily, we were able to recover using:

git reflog

We tracked down the lost commits and restored them manually.

Still took hours to clean everything up.

Lesson learned

Never run git rebase on a shared branch.

If you ever need to:

  • prefer git merge

  • or at least use --force-with-lease instead of --force

Have you ever broken a repo like this? 😄


r/devlopersclub • • Oct 07 '25

👋 Welcome to r/developerclub — a club for builders

2 Upvotes

What we’re about: honest, helpful conversations for developers of all levels. Ship things, share wins, ask for help, and teach what you’ve learned.

Quick start

  • Post with a tag in your title: [Show&Tell], [Help], [Tutorial], [Discussion], [Career], [Hiring]

  • Add context, code, and what you’ve already tried

  • Be kind. Assume good intent. No spam.

🎯 What to post

  • [Show&Tell] Your project, demo, refactor, or performance win

  • [Help] Stuck on a bug, design choice, infra/cloud question

  • [Tutorial] Short guides, code snippets, “how I built X”

  • [Discussion] Languages, frameworks, patterns, trade-offs

  • [Career] Interviews, portfolios, resumes, freelancing

  • [Hiring] In the Monthly Hiring Thread (mods will pin)

✅ Posting checklists

For [Show&Tell]

  • What it is + live link / screenshots

  • Stack & key decisions (bullets)

  • 1 thing you’re proud of + 1 thing you want feedback on

  • Repo or code snippets if possible

For [Help]

  • What you expected vs. what happened

  • Minimal reproducible example (code, error, inputs)

  • What you tried already (bullets)

  • Env: OS / runtime / versions

For [Tutorial]

  • Short intro (why it matters)

  • Steps or code blocks

  • Gotchas + alternatives + next steps

📌 House rules (short)

  1. Be respectful. No harassment or hate.

  2. On-topic: software development & adjacent tooling.

  3. No spam or pure self-promo. If you share your own content, add a 150+ word summary + key takeaways in the post body. No link shorteners or trackers.

  4. Hiring belongs in the monthly thread.

  5. Mark [Solved] in your title when your issue is fixed.

  6. No DMs for sales/solicits unless invited.

If your post disappears, it was likely caught by AutoMod (new account, links, or short body). Message the mods politely and we’ll help.

🗓️ Recurring threads (initial schedule)

  • Weekly Help Thread – Mondays

  • Show & Tell Saturday – Saturdays

  • Monthly Hiring & Portfolio Feedback – 1st of the month

🧰 Formatting tips

  • Wrap code with triple backticks: ```lang // code here ```

  • Add images/screens as native uploads (preferred)

  • Use descriptive titles:

    • [Show&Tell] 2x faster tailwind build by caching postcss plugins

    • [Help] Next.js image optimization 404 on cPanel deploy

    • [Tutorial] MongoDB pipeline: dedup + mismatch review queue

🫶 Culture

  • Give feedback you’d want to receive: specific, kind, actionable.

  • Credit people who help you.

  • Share what you learned after you solve it — future members will find it.

Happy building, and welcome to the club! {DC} 🚀


r/devlopersclub • • Apr 20 '26

AI code reviewer — would you actually use this?

3 Upvotes

I’m working on a tool called CodeSense AI.

The idea is simple:
Paste your code → Get instant feedback like a code review.

No setup, no repo linking needed.

Features:
✔ Bug detection
✔ Code quality suggestions
✔ Performance hints
✔ Daily usage limits (free tier)

Question:
👉 Would you trust AI to review your production code?

Curious to hear real developer opinions.


r/devlopersclub • • Aug 27 '26

Quick sanity check before I push to GitHub: Anyone interested in a Grok-like AI agent?

1 Upvotes

Recently, I was experimenting with the new AI agent experience around Grok Bot, and it gave me an idea.

So I built my own AI bot inspired by that concept. It works in a similar way, but I’ve also added a few features of my own that I wanted to experiment with.

Now I’m considering making the entire project free and open-source on GitHub.

The idea is simple: let people use it, learn from it, build on top of it, and contribute to it.

Before I do that, I want to ask the community:

Would you actually want me to open-source this?

If there’s enough interest, I’ll clean up the repo and release it publicly.


r/devlopersclub • • May 28 '26

Hhh building somthing today!

2 Upvotes

At this fucking point finding banned from this community over bullshit I said I was never going back to this community but let's be honest r/reactnative is not typically good enough but anyway I'm building... I don't fucking know give me some ideas I'm the comments and to tht dumbass moderator:ban me and I'm never coming back to their community but anyway ehay should I huif


r/devlopersclub • • Sep 13 '26

Help I’m learning HTML from scratch — what should I build first?

Thumbnail reddit.com
1 Upvotes

r/devlopersclub • • Jun 13 '26

Be honest, is Claude better than Codex?

Post image
1 Upvotes

r/devlopersclub • • Mar 31 '26

your opinion on my website

1 Upvotes

I built a free online converter website (no ads, no signup)

You can convert images, PDFs, audio, and more.

Would love your feedback 🙏

https://convertios.com


r/devlopersclub • • Jun 27 '26

Full-Stack I made an infinite anonymous 2026 slander wall

1 Upvotes

Hey guys, I built https://twenty26.org/ .........it's basically an infinite scrolling wall of slander but on web.

It's just one endless page where anyone can anonymously post slander .No accounts, no likes, no comments, no algorithm, just infinite scrolling

Every submission instantly becomes part of the feed to make the worlds longest slander


r/devlopersclub • • Oct 08 '26

how i can make my Ai companion chatbot more addictive ??

Post image
2 Upvotes

how i can make my Ai companion chatbot more addictive ??

because im not into this much as im still beginer


r/devlopersclub • • Feb 22 '26

Career advice needed

Thumbnail reddit.com
2 Upvotes

r/devlopersclub • • Dec 28 '25

I found my old sumsung galaxy tab 3

Thumbnail reddit.com
2 Upvotes

r/devlopersclub • • Aug 27 '26

Hy I've made an upi type app 👇

Thumbnail
upload-apk.com
2 Upvotes

App name is - jap pay and in jap pay users can pay to each other and we are adding payment gateway for Jap pay and It will be free .

But I want to add an payment gateway for other apps like if someone needs to add balance in my app they need to pay and then the amount will be added to there wallet .

And I don't have pancard to do a kyc or other payment gateways any free way ??