title: The following paths are ignored by one of your .gitignore files
body: <p>I tried to add a folder <code>iceberg/static/icon</code> into my repo but this fails with error:</p>
  
  <pre><code>shen-3:New Platform shen$ git add iceberg/static/icon
  The following paths are ignored by one of your .gitignore files:
  iceberg/static/icon
  </code></pre>
  
  <p>This is my .gitignore. I am really confused that I don't understand which item matches my file.</p>
  
  <pre><code>hello/
  deploy_server/
  gunicorn_start
  Vida.env/
  
  # IDE conf
  .idea/
  .vscode/
  
  # Byte-compiled / optimized / DLL files
  __pycache__/
  *.py[cod]
  *$py.class
  
  # C extensions
  *.so
  
  # Distribution / packaging
  .Python
  env/
  build/
  develop-eggs/
  downloads/
  eggs/
  .eggs/
  lib/
  lib64/
  parts/
  sdist/
  var/
  wheels/
  *.egg-info/
  .installed.cfg
  *.egg
  
  # PyInstaller
  #  Usually these files are written by a python script from a template
  #  before PyInstaller builds the exe, so as to inject date/other infos into it.
  *.manifest
  *.spec
  
  # Installer logs
  pip-log.txt
  pip-delete-this-directory.txt
  
  # Unit test / coverage reports
  htmlcov/
  .tox/
  .coverage
  .coverage.*
  .cache
  nosetests.xml
  coverage.xml
  *.cover
  .hypothesis/
  
  # Translations
  *.mo
  *.pot
  
  # Django stuff:
  *.log
  staticfiles/
  local_settings.py
  migrations/
  
  # Flask stuff:
  instance/
  .webassets-cache
  
  # Scrapy stuff:
  .scrapy
  
  # Sphinx documentation
  docs/_build/
  
  # PyBuilder
  target/
  
  # Jupyter Notebook
  .ipynb_checkpoints
  
  # pyenv
  .python-version
  
  # celery beat schedule file
  celerybeat-schedule
  
  # SageMath parsed files
  *.sage.py
  
  # dotenv
  .env
  
  # virtualenv
  .venv
  venv/
  ENV/
  
  # Spyder project settings
  .spyderproject
  .spyproject
  
  # Rope project settings
  .ropeproject
  
  # mkdocs documentation
  /site
  
  # mypy
  .mypy_cache/
  </code></pre>
  
  <p>Is there any other reason this happens? </p>
  
  <p>Any insight into why my folder isn't being added would be appreciated! :)
  Thank you! </p>
  
  <p>Full url you want <code>/Users/shen/Desktop/New Platform/iceberg/static/icon</code></p>