git冲突 解决

Fatal: cannot do a partial commit during a merge   在提交单个文件的时候出现这个错误. 意思是不能部分提交代码. 缘由是git认为你有部分代码没有作好提交的准备,好比没有添加 解决方法是 1. 提交所有 git commit -a  2. 若是不想提交所有,那么能够经过添加 -i 选项 git commit file/to/path -i -m "
相关文章
相关标签/搜索