# real git pull grief

3 messages from 2013-01-16 to 2013-01-16. Participants: Jay Vee, Jonathan Nieder.
Thread: https://gitlist.dev/t/32643

## Jay Vee, 2013-01-16 00:17

Subject: real git pull grief
Message-ID: <CADq_mb8LwzbjvaXGCR-6TZbTShf2nzw5wtNZ66_XmOM00-=xzQ@mail.gmail.com>
URL: https://gitlist.dev/e/CADq_mb8LwzbjvaXGCR-6TZbTShf2nzw5wtNZ66_XmOM00-%3DxzQ%40mail.gmail.com

```
I have not changed any code and just tried to do a git pull and get
the following message:

Updating 527f1ee..18cf73e
error: Your local changes to the following files would be overwritten by merge:
        java/..../Info.java
Please, commit your changes or stash them before you can merge.
Aborting
----------


I HAVE NOT CHANGED THIS FILE.  It is telling me that my local
changes.... huh? I have not changed or modified the file.

----
When I do a $git status I see a lot of other files that begin with:

#       modified: ....
<many of these>


How do I get out of this mess?  I do not want to reset head.  I want
to get back to the state where it does not think I have modified a
specific set of files... namely the files that I did not change.


How did I get into this state?  How do I prevent from getting into
this state in the future?  How do I get out of this state now?


thanks for all the help.


J.V.

```

## Jonathan Nieder, 2013-01-16 00:20

Subject: Re: real git pull grief
Message-ID: <20130116002046.GF12524@google.com>
URL: https://gitlist.dev/e/20130116002046.GF12524%40google.com
In-Reply-To: <CADq_mb8LwzbjvaXGCR-6TZbTShf2nzw5wtNZ66_XmOM00-=xzQ@mail.gmail.com>

```
Hi Jay,

Jay Vee wrote:

> I HAVE NOT CHANGED THIS FILE.  It is telling me that my local
> changes.... huh? I have not changed or modified the file.
>
> ----
> When I do a $git status I see a lot of other files that begin with:
>
> #       modified: ....
> <many of these>

Two questions:

 * what does "git diff" say?
 * do you use Eclipse's git integration?

Curious,
Jonathan

```

## Jay Vee, 2013-01-16 00:50

Subject: Re: real git pull grief
Message-ID: <CADq_mb-tjya_Vd-V9nXSckzjbz1m9g0QXX=Ma28-j0TsZD8jtw@mail.gmail.com>
URL: https://gitlist.dev/e/CADq_mb-tjya_Vd-V9nXSckzjbz1m9g0QXX%3DMa28-j0TsZD8jtw%40mail.gmail.com
In-Reply-To: <20130116004534.GG12524@google.com>

```
git diff shows a list of files that I have made some changes to and
the diff for files that I have not changed.

The files I have made changes to (config files), I never want to
commit or push and sometimes I may want them overwritten.  for now I
simply want to leave them there (changes to .sql files that are
specific to my environment).

What I want to know is why git is reporting that changes will be
overwritten to files that I have not touched or changed.


>> $git diff spews a lot of information.
>
> Just a representative first 20 lines or so would be fine. :)
>
> Jonathan

```
