0

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?

gantodagee
  • 43
  • 3

2 Answers2

1

Click the right mouse button on .idea folder and do as I show on screenshot

  • I think I've gotten too used to STS4.. I was looking for this after right clicking on unstaged in the commit tab.. Many Thanks!! – gantodagee Jan 09 '23 at 13:56
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 09 '23 at 17:41
1

Go to your .gitignore file and add below line in it

.idea