什么是推荐的gitattributes设置?

问题描述 投票:3回答:1

以下文件的建议gitattributes设置是什么:

  • 。用户
  • .所
  • .cache
  • 。应用
  • 的.asax
  • 。表现

它是Windows操作系统下的C#repo。

git
1个回答
1
投票

不确定.application.asax.manifest文件,但对于.user.suo.cache文件,GitHub建议忽略.gitignore中的那些文件。如果它们被忽略了,那么你不必担心在.gitattributes中为它们配置,因为它们将不会包含在你的回购中。

以下是来自C#项目的标准GitHub .gitignore的行:

# User-specific files
*.suo
*.user

# Others
*.Cache
© www.soinside.com 2019 - 2024. All rights reserved.