My git project contains .cas files that I do not want to be pushed to the repository. I thus added the line
git rm -r --cached .
git add .
new file: calc/2_preliminary/1_CFD/7_Calc_Fluent/03_stationary_vof_stationary/mesh_04/run_10000.cas
You said in comments that you use git v1.7.1. Old git version is the problem.
**/ pattern was added only in 1.8.2, so your git just doesn't understand it. Besides, you don't really need the
**/ part, you should use just