Add files to .gitignore directly from git shell
Make sure your echo did not add a trailing space:
echo 'token.mat'>>.gitignore
That way, the .gitignore
should work.
Also, 2.5 is ancient: unzip the latest Git, as in PortableGit-2.14.1-64-bit.7z.exe
, anywhere you want, add it to your %PATH%
, and check again.