Actually removed the file. I hadn't realised that you need to use "git rm file"