This seems like a very stupid and rudimentary question. This seems to be due to my lack of understanding of git.
but I'm not good at English, it was difficult to properly search for an answer to this issue..
I tried to change my IDE from STS4 to intelliJ while changing my computer to mac this time.
The only thing I searched for was an answer to add content to .gitignore, which seems to only apply when creating a new project and uploading it to github for the first time.
However, the project I cloned has already been developed to some extent, and .gitignore already exists.
What I want is simple: Excluding the .idea directory from the unstaged list on my local machine.. of course it can be done with cli, but is there a way to do it in intelliJ?
CodePudding user response:
Go to your .gitignore file and add below line in it
.idea
CodePudding user response:
Click the right mouse button on .idea folder and do as I show on screenshot