Git - How to add .gitignore
- doanhoavn
- Jul 2, 2021
- 1 min read
In case you use Git, you should consider to add git into your project. This help you to ignore files ( Byte-compiled / optimized / DLL files) in push code into your repo
1. Use gitignore with template
2. Add .gitignore in IDE
It supports the following IDEs:
Android Studio
AppCode
CLion
GoLand
IntelliJ IDEA
PhpStorm
PyCharm
RubyMine
WebStorm
DataGrip
Example: Use plugin in IntelliJ IDEA
Step 1. Add plugin
Open Intel >Search: plugin

Step 2: File>New>.ignore file>git ignore file
Then you can choose any language, framework ..
Comments