Menu

Post image 1
Post image 2
1 / 2
0

We Accidentally Deleted Our GitHub Repo with Git 2.45: Here's How We Recovered

DEV Community·ANKUSH CHOUDHARY JOHAL·28 days ago
#H70yHYpg
Reading 0:00
15s threshold

We Accidentally Deleted Our GitHub Repo with Git 2.45: Here's How We Recovered It started as a routine Monday morning cleanup. Our team was testing Git 2.45’s new git maintenance optimizations, and in a moment of distraction, we ran a command that wiped our production GitHub repository clean. For 10 minutes, we stared at a 404 error where our 2-year-old repo—with 1,200+ commits, 40 open PRs, and all our production code—used to live. How the Deletion Happened We had just upgraded all team machines to Git 2.45 the week prior to take advantage of its faster pack file indexing and improved merge conflict resolution.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More