DEV Community

Rajesh
Rajesh

Posted on

What is .gitignore and how do i generate or write one?

Writing a .gitignore file for projects has always been an evolving task. I mostly start by listing the files, by doing a git status and then adding entries in .gitignore file for the files that i want to un-track. The other option is to copy from an existing project or other git repos

gitignore.io solves this problem every efficiently. It generates a valid .gitignore in 2 simple steps. More details on

https://belowthemalt.com/2022/10/25/what-is-gitignore-and-how-do-i-generate-or-write-one/

Top comments (0)