Re: file is showing as modified even that it was never commited
- From
Shourya Shukla <shouryashukla.oo@gmail.com>
- Date
- May 4, 2020, 12:00 UTC
- Message-ID
- <20200504120024.GA3372@konoha>
- In-Reply-To
- <CAEoQP9hyMi=oj18atTJo+dR3ve_zzrLQoOja0CKAAVHei6rA0g@mail.gmail.com>
On 04/05 10:11, Ewa Śliwińska wrote:
Show 6 quoted lines
> Hi, > > thanks for your response. > I consider what you propose rather a workaround, while it is really > important for me to get to know what happened here. > Could you help me investigate this?
That actually was a solution to your problem, not a workaround.
> I though that I might add those files accidentally before. That's why I > checked it, I wrote about this in the original email. > Did I check in a wrong way?
If we go into detail of what might have actually happened, the `.idea` folder must've been tracked before getting a mention in the `.gitignore`. Now, the thing is that `.gitignore` ignores only those patterns/files which were not tracked since their addition in it. So most probably, this would have been the case with `.idea` as well.
And yes, you might have added those files before accidentally, maybe when you did a `git add .` or something alike.
Regards, Shourya Shukla