Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You may not have much choice in the matter, but this level of complexity is where I would strongly recommend a (slightly) more complex architecture.

It's apparently a business requirement to keep every branch around forever, and I'll just take your word for that. At that point, you can have an `origin` remote where work happens, and the CI can include a push to an `archive` remote which is append-only.

Lets you have a development environment where the existence of a branch on origin means that it's in-play, and everything exists on archive if it proves needful.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: