简体   繁体   English

Git无法识别project.pbxproj

[英]Git unable to identify project.pbxproj

Whenever i commit and push project.xcodeproj file, git not able to identify project.pbxproj because it is not showing on remote branch. 每当我提交并推送project.xcodeproj文件时,git都无法识别project.pbxproj因为它没有显示在远程分支上。

If i do some changes in project like add a new file or change project settings etc. but still git unable to identify any changes in project.xcodeproj . 如果我在项目中做一些更改,例如添加新文件或更改项目设置等,但是git仍然无法识别project.xcodeproj任何更改。

Please help me out. 请帮帮我。

最终我得到了解决方案,我将其移入project.xcodeproj捆绑包,并使用以下命令强制添加了project.pbxproj文件

git add -f project.pbxproj

Because the project.pbxproj file is packed and embedded in the project.xcodeproj bundle. 因为project.pbxproj文件已打包并嵌入在project.xcodeproj捆绑包中。

You change it , and git add it. 您更改它,并git添加它。

Git not able to identify project.pbxproj because it is not showing on remote branch. Git无法识别project.pbxproj,因为它没有显示在远程分支上。

I think you need some Plugin to open file in Github, like fugitive.vim . 我认为您需要一些插件才能在Github中打开文件,例如fugitive.vim。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM