I have some folders which was included in git commits in the past and now I would like to remove it from git.
So I have added the folder in .gitignore. But if I try to pull changes from server it throws me an error:
Pull failed. Some untracked working tree files would be overwritten by Pull. Please move or remove them before you can Pull.
In .gitignore is the line
/storage
which should ignore everything what is in the storage directory. So why the pull has problem with file in storage/logs/20201455.log file?