ios - 我应该忽略 git 中的 UnserInterfaceState 和 xcschememanagement 文件吗?

标签 ios git atlassian-sourcetree

<分区>

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

两个文件总是在未暂存文件中:

UnserInterfaceState.xcuserstate
xcschememanagement.plist

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

我应该

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

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

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

example image

最佳答案

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

关于ios - 我应该忽略 git 中的 UnserInterfaceState 和 xcschememanagement 文件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34830729/

相关文章:

git - VSTS 和 Git : Why does squashing my DEV branch while merging to master says that DEV is both behind and ahead of master?

git - SSH key 停止在源代码树中的 MAC OS Sierra 10.12.3 上工作

iphone - 有没有办法获取在我的 UIWebView 中播放的视频的长度?我可以在某个位置开始我的电影吗?

ios - (Swift) Tableview 单元格 : textLabel showing up, 但 detailTextLabel 不是

ios - 如何使用 Core Data 使用 NSFetchRequest 的结果填充 UIPickerView

ios - 将 sails.io 与 iOS swift 应用程序连接

git - 通过curl添加SSH key : Fingerprint cannot be generated

GitLab CI 与 Jenkins

git - 在Visual Studio或SourceTree上,撤消更改均不起作用

git - Git 和 SourceTree 中的大写/小写差异