4

What is the recommended gitattributes settings for the following files:

  • .user
  • .suo
  • .cache
  • .application
  • .asax
  • .manifest

It's a C# repo under windows OS.

2
  • Are you using Visual Studio? If you set Git as your version control system, VS might generate a .gitattributes file for you. Commented Mar 1, 2014 at 3:52
  • A collection of useful .gitattributes templates - Github repo Commented Jul 12, 2018 at 12:57

1 Answer 1

1

Not sure about .application, .asax, and .manifest files, but for .user, .suo, and .cache files, GitHub recommends ignoring those files in .gitignore. If they're ignored, then you shouldn't need to worry about configurations for them in .gitattributes, since, well, they won't be included in your repo.

The following are lines from the standard GitHub .gitignore for C# projects:

# User-specific files *.suo *.user # Others *.Cache 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.