git checkout -m <filename>
Bu dizinden kaldırılmasına neden olur ve Daha sonra birleştirme yapmak için gerekli belirteçlerin hepsi var bir "çatışma" dosyaya geri dönmek git yardım çıkış adam sayfasından
.
-m, --merge
When switching branches, if you have local modifications to one or more files that are different between the current branch and the branch to which you are switching, the command refuses to switch
branches in order to preserve your modifications in context. However, with this option, a three-way merge between the current branch, your working tree contents, and the new branch is done, and you
will be on the new branch.
When a merge conflict happens, the index entries for conflicting paths are left unmerged, and you need to resolve the conflicts and mark the resolved paths with git add (or git rm if the merge should
result in deletion of the path).
When checking out paths from the index, this option lets you recreate the conflicted merge in the specified paths.
(son cümle en önemli biridir) . İşte
o eklenme nedenini açıklayan bir blog yazısı olduğunu ve Git eski sürümleri ile mümkün değildir nasıl: // stackoverflow: ait
http://gitster.livejournal.com/43665.html
olası yinelenen (http [sadece tek dosyanın birleştirme Yinele]. com/questions/6857082/redo-bir-bir-tek-dosya-birleştirme) –