当我想将功能分支的更改引入到我的主分支中时,我经常这样做:$ git rebase -i master # Clean up the history$ git checkout master这个命令序列有快捷方式吗?编辑: Tim指出,与其运行git reset --hard feature-branch,不如使用git merge feature-branch。不过,我想要的是像git re
这个过程看起来很简单:我将我的feature-branch合并到master中,并解决了所有合并冲突。然后我进行了提交。我返回到我的命令行,注意到feature-branch仍然存在,所以我删除了它:git branch -d feature-branchwarning: deleting branch 'feature-branch' that has been merged to
'refs/rem
注意: git (和珍珠岩)工作非常好,Branch "<feature-branch>" does not exist in the local working我可以把树枝拉回来:$ git checkout <feature-branch>$ arc land
Landing current branch'<feature-branch>'.TARGET Lan