Pull is not possible because you have unmerged files, git stash doesn't work. Don't want to commit

前端 未结 4 2050
误落风尘
误落风尘 2020-12-23 02:12

I just want to pull. I have changes to disregard, my Gemfile and Gemlock files and I\'d be happy to just overwrite them and just pull. I tried stashing my changes away, this

4条回答
  •  自闭症患者
    2020-12-23 02:37

    You can use git checkout to check out the committed version of the file (thus discarding your changes), or git reset --hard HEAD to throw away any uncommitted changes for all files.

提交回复
热议问题