I am new here and I need some help. I have a website with this structure:
- folder1
- folder2
- folder3
- folder4
- folder5
- index.php
- .gitignore
In folder2 there is a config.php file. How can I ignore that file? I tried to edit .gitignore file and I add folder2/config.php but git doesn't ignore it.
I also tried from Terminal and Source Tree but without success?
Can you please tell me how can I ignore a specific file from a folder?
Many thanks in advance guys!