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。次に、2 つのテキスト ファイルを作成しましone.txt and two.txtた。次に、それらを branch にコミットしますabc。次に、ファイル one.txt をブランチから削除し、これらの変更をブランチにコミットしました。ここで、これらの変更を HEAD にマージしたいと思います。この最後の部分をどのように行うことができますか?
abc
one.txt and two.txt
まず、masterブランチに戻ります。
master
git checkout master
次に、ブランチをマージしabcます。
git merge abc