From: "Ewa Śliwińska" <kreska07@gmail.com>
To: git@vger.kernel.org
Subject: file is showing as modified even that it was never commited
Date: Sun, 3 May 2020 22:03:15 +0200 [thread overview]
Message-ID: <CAEoQP9iY-0+=ETA0vrHL0HngccwtNA_3KX4WSSokJpOgJDGUeA@mail.gmail.com> (raw)
In-Reply-To: <CAEoQP9gVur=UDDPzHnLq-AryDnd45uYdEs3kajzLrtr572e_rA@mail.gmail.com>
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
next parent reply other threads:[~2020-05-03 20:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEoQP9gVur=UDDPzHnLq-AryDnd45uYdEs3kajzLrtr572e_rA@mail.gmail.com>
2020-05-03 20:03 ` Ewa Śliwińska [this message]
2020-05-04 5:55 ` file is showing as modified even that it was never commited Shourya Shukla
2020-05-04 8:17 ` Ewa Śliwińska
[not found] ` <CAEoQP9hyMi=oj18atTJo+dR3ve_zzrLQoOja0CKAAVHei6rA0g@mail.gmail.com>
2020-05-04 12:00 ` Shourya Shukla
2020-05-04 12:11 ` Ewa Śliwińska
2020-05-04 17:17 ` Sergey Organov
2020-05-04 18:39 ` Ewa Śliwińska
2020-05-04 19:51 ` Sergey Organov
2020-05-04 20:04 ` Ewa Śliwińska
2020-05-04 20:41 ` Andreas Schwab
2020-05-05 7:49 ` Ewa Śliwińska
2020-05-05 8:07 ` Andreas Schwab
2020-05-05 8:10 ` Ewa Śliwińska
2020-05-05 8:14 ` Andreas Schwab
2020-05-05 8:19 ` Ewa Śliwińska
2020-05-05 8:25 ` Andreas Schwab
2020-05-05 8:34 ` Ewa Śliwińska
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEoQP9iY-0+=ETA0vrHL0HngccwtNA_3KX4WSSokJpOgJDGUeA@mail.gmail.com' \
--to=kreska07@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).