I put some folders in my gitignore but as described in the documentation
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected
So I have to untrack some files and is where my nightmare start
This is my gitignore file
$ cat .gitignore
/.settings/
/.buildpath
/configuration.php
/administrator/cache/*
/images/*
/connectionOracle.php
/administrator/components/com_jsecure/*
/administrator/language/en-GB/*
The last modification made in this file was the addition of the line /images/*
To untrack this folder i follow as described {1}here and {2}here
Following {1}
$ git update-index --assume-unchanged images/*
fatal: Unable to mark file images/02102012_planos.jpg
Question 1: Why can't untrack this specific file?
Following {2}
$ git rm --cached images/ -r
fatal: pathspec 'images' did not match any files
Same result with specific file
$ git rm --cached images/20130626tabela1.jpg
fatal: pathspec 'images/20130626tabela1.jpg' did not match any files
Question 2: Why I receive this error message? Searching here lead me to this but, as I said, these files under /images/ are tracked.
And the Cake Cherry
To verify the list of ignored file I ran this command
$git ls-files --others -i --exclude-standard
That give me a very long list of files inside the images, administrator and mpdf61 folder. The mpdf61 folder is not configured in the gitignore file and neither in info/exclude.
Question 3: Why the mpdf61 appears in this list?