版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/boom_man/article/details/81870512
githug
第41关:
You have created your branch from
wrong_branch
and already made some commits, and you realise that you needed to create your branch frommaster
. Rebase your commits ontomaster
branch so that you don’t havewrong_branch
commits.
你从wrong_branch
创建了自己的分支,而且已经做了一部分提交.你意识到自己需要自己的分支源于 master 重建提交在master分之 因此 wrong_branch
没有提交
git rebase –onto master wrong_branch