zoukankan      html  css  js  c++  java
  • 忽略UserInterfaceState.xcuserstate

    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追加到文件末尾,注意要填写项目相对路径

  • 相关阅读:
    Go反射
    Go_CSP并发模型
    Go_select
    Go计时器
    day9:vcp考试
    day8:vcp考试
    day7:vcp考试
    day6:vcp考试
    day5:vcp考试
    day4:vcp考试
  • 原文地址:https://www.cnblogs.com/mohe/p/4398864.html
Copyright © 2011-2022 走看看