I am trying to include a couple of files which are in an ignored directory, but get the following. How do I include them? Thank you
[Michael@devserver bidjunction]$ git add html/about-us.html
The following paths are ignored by one of your .gitignore files:
html/about-us.html
Use -f if you really want to add them.
fatal: no files added
[Michael@devserver bidjunction]$
My .gitignore
file
[Michael@devserver bidjunction]$ cat .gitignore
/html/
/ayb_cache/
/ayb_resources/
#Some cache files in the main application
/ayb_application/lib/plugins/tinymce_plugins/imageManager/cache/
/ayb_application/lib/plugins/tinymce_plugins/image_purchased/cache/
/ayb_application/lib/plugins_3rd/tinymce_4.0.6/plugins/image/cache/
# Temp files often created by editors
*.~
# Track some files in html directory
!/html/css/
!/html/images/
!/html/scripts/
!/html/about-us.html
!/html/corporate.php
!/html/index.html
!/html/muse_manifest.xml
!/html/terms-and-conditions.html
[Michael@devserver bidjunction]$