Trần Xuân Huy
Trần Xuân Huy

Reputation: 465

git add unchanged files into "unstaged files"

git is adding unchanged files into "unstaged files"

enter image description here

As you can see, these files are added into the "Unstaged files" section, but when I click on them, no changes are made.

What is causing this and how to fix it?

Upvotes: 1

Views: 453

Answers (1)

Tymur Kubai aka SirDiR
Tymur Kubai aka SirDiR

Reputation: 414

It's compiled classes, as mention before they must be ignored. In root folder of project create .gitignore file and add there rows

out/
.idea/

No changes are made because you didn't start to tracking them, so basically all file is "one big change"

Upvotes: 3

Related Questions