git衝突 解決

Fatal: cannot do a partial commit during a merge   在提交單個文件的時候出現這個錯誤. 意思是不能部分提交代碼. 緣由是git認爲你有部分代碼沒有作好提交的準備,好比沒有添加 解決方法是 1. 提交所有 git commit -a  2. 若是不想提交所有,那麼能夠經過添加 -i 選項 git commit file/to/path -i -m "
相關文章
相關標籤/搜索