git - Not able to update my feature branch after deleting a particular commit from master -
i have deleted particular commit master(not top commit) branch , have created feature branch. example, have created feature branch x master , deleted particular commit master branch. after developing feature, merging master branch in feature branch through following process.
go code path in git bash , run following command
git checkout master git fetch origin git checkout x git merge master git push origin x and able merge master branch earlier not able after deleting commit master. appreciated.
i able find issue. branches not in sync now. thing have first created feature branch , delete particular commit master branch. there 2 ways fix this. first create new branch put changes there or delete particular commit feature branch deleted master.
Comments
Post a Comment