Git .gitignore ignores the file and changes it every time it is submitted.
Gitignore file content:
Every commit will have workspace.xml
Because you have added him to
tracked fileIn the use of
git rm --cached java/.idea/workspace.xml
Gitignore this file is used for
untrackedIgnored list of files
You use it
addMark file as
trackedStatus. gitignore is invalid for it.