Menu

My Version Control Was final_final_really, so I Wrote a Script to Fix It
📰

My Version Control Was final_final_really, so I Wrote a Script to Fix It

DEV Community: productivity·Vince·4 days ago
#UGmarW2x
#devtoproductivity#devto#dev#laptop#github
Reading 0:00
15s threshold

After a month of building with AI agents, I'm sad to announce the retirement of my version control strategy, which ran final_final in production, final_final_really in staging, probably_latest on the days I felt brave, and please_dont_sync_yet for anything that actually mattered.

Jokes aside, after creating many, many, many folders, my laptop and GitHub, where I back up my work, had drifted apart. In my case, 23 projects existed only on my laptop with no backup anywhere, and most of the others still sat on GitHub under names I'd already changed on my laptop, so for some of them it was no longer clear which version was the latest.

Building with AI makes this happen faster than it used to, because an agent can start a new project folder in a minute, and nothing in that process reminds you to back it up or to name it properly. So I wrote a Python script that keeps the two in line, and its first full run went through about 120 repos.…

Continue reading — create a free account

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