美文网首页
Xcode git 忽略user interface state

Xcode git 忽略user interface state

作者: iOS开发技术 | 来源:发表于2017-03-24 12:00 被阅读56次

1、退出xcdoe, 打开终端(Terminal),进入到你的项目目录下;
2、在终端输入如下代码;

git rm --cached *.xcuserstate
git commit -m "Removed cached files"

3、git push;
4、下次Xcode commit就不会包括user interface state.

原文链接

相关文章

网友评论

      本文标题:Xcode git 忽略user interface state

      本文链接:https://www.haomeiwen.com/subject/heaxottx.html