So I have following situation in github.
I created a fresh branch from the
mainbranch
and named asuserstory1
I pushed my changes in branch
userstory1
and raised a pull request to my colleagueHe saw that folder structure was not correct so renamed my code folder in
mainbranch
. So now I have foldermycode
onuserstory1
branch whereas onmainbranch
its namedmy-code
. My changes on branchuserstory1
are yet to be merged tomainbranch
Of course now automatic merge of my pull request is not possible on
mainbranch
What is the best way to handle this situation? I want to use the same pull request for merging changes on branch userstory1
to mainbranch
What I have thought of is to get the code from mainbranch
onto my machine and commit it to branch userstory1
but not sure if same pull request can be used if I do more commits on userstory1
branch