IntelliJ IDEA: Configure the .gitignore file

When we need to submit projects to the git server, we do not need to submit redundant files, such as the files that come with the editor, the files compiled by the project, etc. We can configure the .gitignore parameter

By default, idea is not generated by .gitignore. We need to install the plugin. Open the idea configuration file and select plugins >> Browse repositories... 

Search for .gitignore and then install it, restart the idea after installation

Right click on the selected project >> new >> .gitignore File >> .gitignore file(Git) 

The basic template is selected by default. If you need other options, you can check other options. Finally, click Generate to generate it.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325336950&siteId=291194637
Recommended