【问题标题】:Should I ignore UnserInterfaceState and xcschememanagement files in git? [duplicate]我应该忽略 git 中的 UnserInterfaceState 和 xcschememanagement 文件吗? [复制]
【发布时间】:2016-04-22 04:58:46
【问题描述】:

带有 Git 问题的 iOS 项目的 SourceTree。

两个文件总是在 unstage 文件中:

UnserInterfaceState.xcuserstate
xcschememanagement.plist

但是,实际上我没有做任何改变。 (也许我只是在 Xcode 窗口中单击了项目中的文件之一?)

我应该

  • 提交并推送这两个文件?
  • 只是通过选择“忽略文件”来忽略它们?
  • “删除文件”?

我不想打扰其他团队开发人员。

通常,这两个文件的最佳选择是什么?

【问题讨论】:

    标签: ios git atlassian-sourcetree


    【解决方案1】:

    将此文件添加到.gitignore 文件中,以便 git 开始忽略此文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-12-23
      • 2019-01-10
      • 2014-03-03
      • 1970-01-01
      • 2018-10-01
      • 2020-07-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多