Git warning of file overwriting due to (supposedly) untracked files

前端 未结 4 1285
南旧
南旧 2021-01-18 21:38

Attempting to pull from git repo, but getting the following output. I think these files are tracked (As they should be), but its indicating that they are not. They are not i

4条回答
  •  渐次进展
    2021-01-18 22:07

    If you simply want to delete the files like I do, you can run

    rm `git merge 2>&1 | sed "s/^[^\t].*/ /g" `
    

    (you might want to run it first with echo instead of rm to verify the results)

提交回复
热议问题