git - How does one recreate (merged) branch that was deleted from local and remote? -


after merging feature branch development , deleting local , remote, realized forgot merge production branch.

when try checkout final commit, warning "checking out commit create detached head, , no longer on branch.." little apprehensive on action.

are there steps reproduce feature branch can merged production?

you recreate in aggregate through cherry picking.

create new branch off of prod. cherry-pick new feature commits develop , merge production.

to cherry pick (as mentioned in comments), can 1 commit @ time git cherry-pick <hash> or can series of commits git cherry-pick <startinghash>..<finishinghash>


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -