I just found one of a dev tool called gitignore.io which as it's name suggests, helps generate a gitignore file for our project.
- Go to gitignore.io
- Fill in the languages, IDE's, OS's you're using
- Click Create
- Copy Code and paste it into a
.gitignorefile in your project root
- Go to this link
- Follow instructions based on your os and terminal
- Go to a project
- List possibilities for gitignore
This will list all the possibilities for your
.gitignorefile that you can choose from
- Create a
.gitignorefile Say, I am choosing
macosas my options.
gi node,vscode,macos >> .gitignore
And voilà, your
.gitignore file has been created!