Answer the question
In order to leave comments, you need to log in
How to remove a file from gitignore?
I have a gitignor file like this:
*
!api.php
*
!api.php
!js/js.js
Answer the question
In order to leave comments, you need to log in
The key -f
forces to add ignored files to the index.git add -f js/js.js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question