git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: file is showing as modified even that it was never commited

From
Ewa Śliwińska <kreska07@gmail.com>
Date
May 4, 2020, 12:11 UTC
Message-ID
<CAEoQP9gs-a1NanNpYiFQgTs0C+CeYhbD8rMjoFVat1ZSijNA2A@mail.gmail.com>
In-Reply-To
<20200504120024.GA3372@konoha>
> That actually was a solution to your problem, not a workaround.

Not really, because I would like to investigate what happened, not just fix it. In that case I could as well recreate repository I guess...

I agree that I could add those files accidentally. But I'm really disappointed in fact that you seem to ignore all the part where I described in details how I checked this and why I think this is not the case. Could you please answer if there was something wrong with my checking? I'm asking second time.

Or could you guide me step by step through investigation which would confirm your theory?

On Mon, 4 May 2020 at 14:00, Shourya Shukla <shouryashukla.oo@gmail.com> wrote:
Show 26 quoted lines
>
> On 04/05 10:11, Ewa Śliwińska wrote:
> > 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

Pozdrawiam Ewa

On Mon, 4 May 2020 at 14:00, Shourya Shukla <shouryashukla.oo@gmail.com> wrote:
Show 26 quoted lines
>
> On 04/05 10:11, Ewa Śliwińska wrote:
> > 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
Previous: Shourya ShuklaNext: Sergey Organov
Message 5 of 17 in “file is showing as modified even that it was never commited”
  1. Ewa ŚliwińskaMay 3, 2020
  2. Shourya ShuklaMay 4, 2020
  3. Ewa ŚliwińskaMay 4, 2020
  4. Shourya ShuklaMay 4, 2020
  5. Ewa ŚliwińskaMay 4, 2020
  6. Sergey OrganovMay 4, 2020
  7. Ewa ŚliwińskaMay 4, 2020
  8. Sergey OrganovMay 4, 2020
  9. Ewa ŚliwińskaMay 4, 2020
  10. Andreas SchwabMay 4, 2020
  11. Ewa ŚliwińskaMay 5, 2020
  12. Andreas SchwabMay 5, 2020
  13. Ewa ŚliwińskaMay 5, 2020
  14. Andreas SchwabMay 5, 2020
  15. Ewa ŚliwińskaMay 5, 2020
  16. Andreas SchwabMay 5, 2020
  17. Ewa ŚliwińskaMay 5, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.