您当前的位置: 首页 >  git

壹小俊

暂无认证

  • 2浏览

    0关注

    885博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

git pull 错误:The following untracked working tree files would be overwritten by merge

壹小俊 发布时间:2019-07-08 11:39:10 ,浏览量:2

$ git pull origin alpha From https://github.com/shirley-wu/HeartTrace  * branch            alpha      -> FETCH_HEAD error: The following untracked working tree files would be overwritten by merge:         .gradle/4.4/fileChanges/last-build.bin         .gradle/4.4/fileHashes/fileHashes.bin         .gradle/4.4/fileHashes/fileHashes.lock         .gradle/4.4/fileHashes/resourceHashesCache.bin         .gradle/4.4/taskHistory/taskHistory.bin         .gradle/4.4/taskHistory/taskHistory.lock         .gradle/buildOutputCleanup/buildOutputCleanup.lock         .gradle/buildOutputCleanup/cache.properties         .gradle/buildOutputCleanup/outputFiles.bin         .idea/gradle.xml         .idea/workspace.xml

 

解决方法:

git clean  -d  -fx

git pull

手动merge

git add .

git commit -m "description"

关注
打赏
1664335782
查看更多评论
立即登录/注册

微信扫码登录

0.0388s