英文:
git checkout error: invalid path 'app/code/Catwalk/Producteditor/etc/adminhtml/routes.xml '
问题
我在我的Windows机器上克隆了一个存储库。克隆成功,但在检出过程中遇到了一个文件路径错误,末尾有空格。
git checkout
错误:无效路径 'app/code/Catwalk/Producteditor/etc/adminhtml/routes.xml'
英文:
I have cloned a repo in my windows machine. Clone is succeseded by during checkout it through a file path error with empty space at the end.
git checkout
error: invalid path 'app/code/Catwalk/Producteditor/etc/adminhtml/routes.xml '
答案1
得分: 3
'app/code/Catwalk/Producteditor/etc/adminhtml/routes.xml'
^^^
英文:
'app/code/Catwalk/Producteditor/etc/adminhtml/routes.xml '
^^^
You might need to rename the file on GitHub first (assuming this repository is cloned from Github) before being able to check it out locally: the trailing space to routes.xml
means it cannot be created on a Windows file system.
See "GitHub / Renaming a file".
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论