So I have following situation in github.
I created a fresh branch from the
mainbranchand named asuserstory1I pushed my changes in branch
userstory1and 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 foldermycodeonuserstory1branch whereas onmainbranchits namedmy-code. My changes on branchuserstory1are yet to be merged tomainbranchOf 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