第一次我很困惑。
因此,我总共有三个项目副本。
现在,我在Live server copy
中进行了一些配置更新,而在Local copy
中未进行相同的操作。
我已经在本地计算机上重新编写了一些代码,然后git将我的代码推送到bitbucket。
现在,我想将所有更改从bitbucket的更新代码中提取到LIVE SERVER COPY
。
我该怎么做?
我做了git fetch origin master
,它给了我这样的信息
* branch master -> FETCH_HEAD
编辑
完成git pull
后,我看到此错误
error: Your local changes to the following files would be overwritten by merge:
.env
config/nuxt.js
Please, commit your changes or stash them before you can merge.
正在中止
我知道上面的两个文件代码与本地/ bitbucket复制不同,我实际上不想过度使用上述文件,但希望将其他更改从bitbucket拉到实时服务器。
任何帮助将不胜感激。
谢谢。