首页 > 其他 > 详细

忽略UserInterfaceState.xcuserstate

时间:2015-04-07 19:01:44      阅读:365      评论:0      收藏:0      [点我收藏+]

GIT忽略iOS项目UserInterfaceState.xcuserstate

 

1.删除仓库中跟踪的UserInterfaceState.xcuserstate

    git rm --cached iamhere/IAmHere.xcodeproj/project.xcworkspace/xcuserdata/hayden.xcuserdatad/UserInterfaceState.xcuserstate

    git commit -m "Removed file that shouldn‘t be tracked"

    git push

 

2.忽略UserInterfaceState.xcuserstate,在仓库根目录下:

    vim ./.git/info/exclude

    然后按“i”进入编辑模式,将UserInterfaceState.xcuserstate追加到文件末尾,注意要填写项目相对路径

忽略UserInterfaceState.xcuserstate

原文:http://www.cnblogs.com/mohe/p/4398864.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!