Zbun
Zbun

Reputation: 4935

Removing file from .gitignore in webstorm

I was searching the web for hour now... I can't seem to find where the gitignore file is located,and it's ruining my life. I have to remove one file from there. I'm using WebStorm 8 Any help?

Upvotes: 0

Views: 274

Answers (1)

Landys
Landys

Reputation: 7727

.gitignore can be in any folder inside your git repository. And the patterns in .gitignore of child folder will overwrite the ones in parent folder.

It may be hidden when you use ls in your Git Bash. Just use ls -a.

From the doc:

Patterns read from a .gitignore file in the same directory as the path, or in any parent directory, with patterns in the higher level files (up to the toplevel of the work tree) being overridden by those in lower level files down to the directory containing the file. These patterns match relative to the location of the .gitignore file.

Upvotes: 1

Related Questions