Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
I done goofed - Feature branch code in prod, development branch with many, many features not released to prod. How to get my development branch to include my feature branch release with proper history?
Post Body

Hi All,

i'm kind of in a pickle.

For a very long time, i was the only developer. I stupidly didn't follow the proper branching protocol and ended up doing a significant amount of dev on a very large project in a single feature branch that spans over 1 year. I've had a few production releases over that year directly built from the code in that feature branch. Worse, I never merged those changes into the development branch. In the past 3 months, we've hired some contractors who have been following the proper branching and inevitably committing everything into development branch we have yet to release their code because we were waiting for my feature branch to be released.

I'm finally done with this feature branch and now all of that code is in prod. How do i get the feature branch back into development so that my history reflects that the feature branch is what's currently in production? I can't really do a merge if i want there to be proper history since it will merge the contractors code? Can i inject my feature branch commits into a specific time in the history of the development branch (maybe before the contractors started their dev)? I'm sorry if this is confusing.

Many thanks for helping me out.

Edit: I assume that i'll have to also only commit my feature branch to master adding more complexity. Thoughts?

Author
Account Strength
100%
Account Age
15 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,604
Link Karma
197
Comment Karma
5,381
Profile updated: 2 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago