intellij automatically create a file to add to git, and how this cancellation

Solution one:

Open IDEA-> File-> Settings-> VersionControl-> Confirmation above there When files are created, select Do not add. This method is equivalent to: git reset head, this command is to a local file repository, replacing Stage area in the appropriate file (workspace is your file directory is not affected) 

"Git rm --cached <file>". This command will delete files directly from the staging area, the work area is not to make a change. So it seems "git rm --cached <file>" command than "git reset head" better, the former is removed, the latter is replaced.

Intellij IDEA is a comprehensive Java programming environment, by many developers and industry experts hailed as the best on the market IDE. It offers a range of the most useful tools a combination of: intelligent coding assistance and automation, support for J2EE, Ant, JUnit, and CVS integration, non-parallel code inspection and innovative GUI designer.

IDEA to Java developers freed from time-consuming routine work in a number of significantly improving the efficiency of development. Has run faster, generate better code. Continuing redesign and daily coding becomes more easy and perfect integration with other tools; high cost and so on. In the 4.0 version to support Generics, BEA WebLogic Integration, improved CVS integration and GUI designer.

IntelliJ IDEA programmers can promote the programming speed as much as possible. It includes a number of auxiliary functions, and combined with Java quite well. Various tool windows surrounding the main program window, when the mouse points to when to open, can easily turn off unwanted time, so that the user has been to maximize the effective range of the screen.

Original Address: https://zhidao.baidu.com/question/1606791955986752107.html

Guess you like

Origin www.cnblogs.com/jpfss/p/10996046.html
Recommended