I\'m trying to remove a previously tracked directory from git, which works, but it\'s being added back with each subsequent git add ., git add -A, etc.
git add .
git add -A
I had a similary issue. Making sure my encoding was ANSI and the line endings were Unix(LF) fixed my issue.