I have some log files that I want Git to ignore. They are all in:
/Lead Services/logs/
In the .getignore file, I have tried entering all of the
You can use git rm to exclude file from tracking permanently. In your local repository, do
git rm
git rm -r --cached logs/*
then
git add . git commit -m "Excluded logs from tracking" git push
From now on, the git won't track the logs folder, any more. Also, you may refer to this question.