1
我有一个主要问题。似乎没有任何工作..我在Windows上使用TortoiseGIT。我从我的本地主机推送更新到我的服务器。
该更新在该服务器上无法正常工作,因此我进入了GIT历史记录,单击了旧版本并将“重置为此分支”,然后将此旧版本推送到我的服务器上。然后这个错误出现了..推送到旧版本的文件后出错...无法更新文件
Parse error: syntax error, unexpected T_SL in /home/path/to/server/files/file.php
on line 4
我试图再次更新文件,但它总是告诉我一切了最新的,与此错误一起:
remote: Please, fix them up in the work tree, and then use ‘git add/rm ‘is not possible
remote: Please, fix them up in the work tree, and then use ‘git add/rm ’ have unmerged
remote: as appropriate to mark resolution, or use ‘git commit -a’.
我试图合并文件,但它一直告诉我我是最新的。
对此的任何想法?任何事情都会有很大帮助。
感谢