I made some updates on my local machine, pushed them to a remote repository, and now I'm trying to pull the changes to the server and I get the message;
(我在本地计算机上进行了一些更新,将它们推送到远程存储库中,现在我正尝试将更改拉到服务器上,并且得到消息;)
error: Your local changes to the following files would be overwritten by merge:
(错误:您对以下文件的本地更改将被合并覆盖:)
wp-content/w3tc-config/master.php
(wp-content / w3tc-config / master.php)
Please, commit your changes or stash them before you can merge.
(请先提交您的更改或将其存储起来,然后再进行合并。)
So I ran,
(所以我跑了)
git checkout -- wp-content/w3tc-config/master.php
and tried again and I get the same message.
(并再次尝试,我得到相同的消息。)
I'm assuming that w3tc
changed something in the config file on the server. (我假设w3tc
更改了服务器上的配置文件中的某些内容。)
I don't care whether the local copy or remote copy goes on the server (I suppose the remote one is best), I just want to be able to merge the rest of my changes (plugin updates). (我不在乎本地副本还是远程副本在服务器上(我认为远程副本最好),我只想能够合并其余的更改(插件更新)。)
Any ideas?
(有任何想法吗?)
ask by Jo Sprague translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…