I have several files that are hidden in Intellij 2017. It seems that the hidden files are in the .gitignore folder. I need those files. So I'm wanting to know how to add those files back into my project, and remove from .gitignore folder. The only search results I have seen is how to remove a file which will completely remove the files from my project.
How to add files from .gitnore folder back into project
118 Views Asked by Tan W At
2
There are 2 best solutions below
0

A "clean explicit solution" I like to use is :
1st create a commit that removes (or comments out) the ignored paths from the .gitignore file.
2nd, create a commit to add all the files that are now not ignored in your working tree.
Of course this is to execute from a station that actually has the files you want to add into your git source control.
Here is the quote from git document:
Example: