Intellej idea creating files and automatically push it to git
Answered
Hi, Help me please
Created a new project.
Intellej spawns files without my knowledge and uploads them to git.
And I added the list to .gitignore (maybe crooked?). but that doesn't help.
Thank you in advance.
Sample file list
_mac (folder)
vcs.xml
baseRefactoring.xml
colors.scheme.xml
debugger.xml
filetypes.xml
markdown.xml
mavenVersion.xml
Please sign in to leave a comment.
Hello @...
It looks like you have "Add silently" checked under Preferences | Version Control | Confirmation this is why those files and folders were added to Git automatically.
If you want to ignore a file that is already checked in, you must untrack the file before you add a rule to ignore it. Please run the following command to untrack a file:
or for a folder:
Then you can add files and folders to .gitignore
Please see the following article for more info on what files must be ignored:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems