See the official GitHub’s “Collection of useful .gitignore templates”.
The .gitignore
for Visual Studio can be found here:
https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
More Related Contents:
- Ignore files that have already been committed to a Git repository [duplicate]
- .gitignore exclude folder but include specific subfolder
- How do I configure git to ignore some files locally?
- Can I ‘git commit’ a file and ignore its content changes?
- .gitignore is ignored by Git
- What should be in my .gitignore for an Android Studio project?
- How to create a .gitignore file
- Should I check in folder “node_modules” to Git when creating a Node.js app on Heroku?
- Using git, how do I ignore a file in one branch but have it committed in another branch?
- How do I add files without dots in them (all extension-less files) to the gitignore file?
- How do I tell Git to ignore everything except a subdirectory?
- Explain which gitignore rule is ignoring my file
- git ignore vs. exclude vs. assume-unchanged
- Whitelisting and subdirectories in Git
- When would you use .git/info/exclude instead of .gitignore to exclude files?
- How do .gitignore exclusion rules actually work?
- What is .gitignore?
- How to exclude file only from root folder in Git
- How to git ignore subfolders / subdirectories?
- Apply .gitignore on an existing repository already tracking large number of files
- What’s the difference between Git ignoring directory and directory/*?
- How to manage configuration files when collaborating?
- git still shows files as modified after adding to .gitignore
- Can I make a user-specific gitignore file?
- Git: Ignoring Version-Controlled Files
- How do negated patterns work in .gitignore?
- Why is git is ignoring files that aren’t in the .gitignore file?
- What to gitignore from the .idea folder?
- Unignore subdirectories of ignored directories in Git
- Ignoring a directory from a Git repo after it’s been added