工作目录中只有一个文件,a.cpp只有一行“this is a.cpp"
然后主分支为master,此时创建子分支develop。
切换到develop分支,在a.pp文件中新添加一行,“this is second line”
切换回master分支,此时执行git merge develop。则,master分支中的a.cpp文件出现第二行内容。
此时我删除master分支中a.cpp的第二行。重新执行merge。则提示Already up-to-date
为什么不是像第一次执行merge操作时一样,添加第二行内容???
求教大神