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’.
我試圖合併文件,但它一直告訴我我是最新的。
對此的任何想法?任何事情都會有很大幫助。
感謝