while merging two branches. My files are getting lost

孤街醉人 提交于 2019-12-12 02:34:10

问题


I am having two branches names as master and develop. Both branches consist of some files in it. When I merged develop to master, one of my file got deleted. I don't understand how it got deleted when I didn't put any delete command. I am using git version: 1.9.5.msysgit.1 and Windows 8.


回答1:


When the branch develop removed this file after it branched off, then a merge of develop into your line (e.g. into master) would introduce this effect there as well.



来源:https://stackoverflow.com/questions/29764609/while-merging-two-branches-my-files-are-getting-lost

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!