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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -