解决idea创建SpringBoot项目,会自动创建.git文件导致commit两极分化的现象。
首先我的版本是2023.2的,其他的我不知道适用不。
File → Settings → Version Control → Confirmation
将When files are created: 改为 Do not add,然后发现解决成功,但是还是会有,gitnore忽略文件,不过不影响! .git是罪魁祸首,没了就行了
首先我的版本是2023.2的,其他的我不知道适用不。
File → Settings → Version Control → Confirmation
将When files are created: 改为 Do not add,然后发现解决成功,但是还是会有,gitnore忽略文件,不过不影响! .git是罪魁祸首,没了就行了