BetaWRLD / BetaManager

Yes, BetaManager.
Apache License 2.0
53 stars 2 forks source link

Add .gitignore #1

Closed Kyrela closed 6 months ago

Kyrela commented 6 months ago

Based on https://github.com/github/gitignore/blob/main/VisualStudio.gitignore, manually added .idea/ exclusion l23

BetaWRLD commented 6 months ago

I use git exclusion instead of .gitignore.

Kyrela commented 6 months ago

As .git/info/exclude is local, I feel like a .gitignore would help maintain a clean and open-for-contribution repo, as other people don't have access to these exclusions and could accidentally commit changes containing unwanted files. I suggest you to put the content of your .git/info/exclude in a .gitignore

BetaWRLD commented 6 months ago

I think I will merge this, and keep my exclusion as it is.

Kyrela commented 6 months ago

Do as you want ; but keep in mind that if you want to exclude something, most people will want to exclude it too, unless it's files that you manually added for a reason or another. You should but every ignore line of your exclude that is relative to generated files/IDEs&Tools in the .gitignore, and keep only "local" ignores in exclude - both can and, in fact, should be used. Here's more resources about both solutions and when to use one or another in the context of colaborative development: