After modifying the file in idea, why not use add, to commit directly?

Did idea do

automatically?

Mar.11,2021

any file submission has to go through add before going to commit. Idea has the function of automatic add. It is fine to modify it in version Control and not automatically add .


22:11:02.439: [project-name] git -c core.quotepath=false -c log.showSignature=false add --ignore-errors -- src/main/java/Sorting.java
22:11:39.504: [project-name] git -c core.quotepath=false -c log.showSignature=false commit --only -F C:\Users\Administrator\AppData\Local\Temp\git-commit-msg-.txt -- src/main/java/Sorting.java

you can see that the add operation has been done automatically. You can look at the console under the version control column in IDEA to see the git statement printed by IDEA

.
Menu