每当我想要执行一个Gemfile.lock或签出一个新分支时,我的git pull都会遇到以下错误。error: Your local changes to the following files would be overwritten by merge:Please我还试着运行git checkout -- Gemfile.lock来放弃更改,但这也不起作用--本地更改只是停留在原地。
我还尝试创建一个新分支并将Gemfile.lock更改提交到该分支..。
You have modified your Gemfile in development but did not checkerror: failed to push some refs to 'git@heroku.com:freezing-frost-65.git'
我尝试将Gemfile和Gemfile.lock我尝试删除.bundle目录和Gemfile.lock,但同样的错误。