file is showing as modified even that it was never commited

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I’m probably missing something here, but it looks really weird and I
can’t find any information on this.

My situation is as following:
I created empty repository on Bitbucket, then cloned it, added code
and made one initial commit (without push).

Now I changed the code and I would like to commit it, but I have some troubles.

The problem is some files are showing as changed while I never committed them.
I never intended to commit them (they are under .idea directory, which
I added to .gitignore).
I checked with git log - I have only this one commit.
I checked files affected by this commit using git show --pretty=""
--name-only. Mentioned files are not there.
Also checked the history of one particular file, using git log -p - no
history here.|

At the same time, file is showing is changes not staged for commit
when calling git status.
For what is worth, file is even not there.

I hope you’ll help me unravel this. I am out of ideas, kind of seems like a bug.

Best regards
Ewa




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux