Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我所做的
我创建一个分支abc。然后我创建了两个文本文件one.txt and two.txt。然后我将它们提交给分支abc。然后我从分支中删除文件 one.txt 并将这些更改提交到分支。现在我想将这些更改合并回 HEAD。我该怎么做最后一部分?
abc
one.txt and two.txt
首先,改回master分支:
master
git checkout master
然后,合并分支abc:
git merge abc