* real git pull grief
@ 2013-01-16 0:17 Jay Vee
2013-01-16 0:20 ` Jonathan Nieder
0 siblings, 1 reply; 3+ messages in thread
From: Jay Vee @ 2013-01-16 0:17 UTC (permalink / raw)
To: git
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: real git pull grief
2013-01-16 0:17 real git pull grief Jay Vee
@ 2013-01-16 0:20 ` Jonathan Nieder
[not found] ` <CADq_mb_OngJbkf_9_xp1D2RsjS_N23=R1Cpw-w5SxixB-zGWnQ@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Nieder @ 2013-01-16 0:20 UTC (permalink / raw)
To: Jay Vee; +Cc: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: real git pull grief
[not found] ` <20130116004534.GG12524@google.com>
@ 2013-01-16 0:50 ` Jay Vee
0 siblings, 0 replies; 3+ messages in thread
From: Jay Vee @ 2013-01-16 0:50 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-16 0:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 0:17 real git pull grief Jay Vee
2013-01-16 0:20 ` Jonathan Nieder
[not found] ` <CADq_mb_OngJbkf_9_xp1D2RsjS_N23=R1Cpw-w5SxixB-zGWnQ@mail.gmail.com>
[not found] ` <20130116004534.GG12524@google.com>
2013-01-16 0:50 ` Jay Vee
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.