Include an appropriately configured .gitignore file in the generated project
See original GitHub issueOne of the first things I do after generating a project is to create an appropriately configured .gitignore
file for it. What goes in the file is build system specific. For Gradle projects, I’d like .gradle
, build
, and bin
(thanks, Eclipse) to be ignored by default. For Maven projects, I’d like target
to be ignored by default.
I realise that this is VCS specific, so perhaps it shouldn’t be switched on by default, although I suspect that the vast majority of people will be using Git these days.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:12
- Comments:6 (3 by maintainers)
Top Results From Across the Web
.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git history. They can be local, global, or...
Read more >git - .gitignore for Visual Studio Projects and Solutions
Open Visual Studio and the solution needing an ignore file. From the top menu select Git > Settings. ... The above will open...
Read more >How to Create & Use GitIgnore File Properly, Quickly & Easily
How to use gitignore file - Why we use gitignore file - What are benefits of gitignore file - Why gitignore is important-...
Read more >Git Best Practices and Adding a .gitignore File
A .gitignore file lists all of the files that are local to a project that Git should not push to GitHub. A ....
Read more >gitignore Documentation - Git
These patterns match relative to the location of the .gitignore file. A project normally includes such .gitignore files in its repository, containing patterns ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d be happy to ignore the IDE I wasn’t using. All Spring projects have eclipse and intellij ignores already.
Could use https://www.gitignore.io