git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with GIT under Windows - "not uptodate"
@ 2009-09-01 15:46 david.hagood
  2009-09-01 16:52 ` Eric Raible
  2009-09-01 18:19 ` skillzero
  0 siblings, 2 replies; 7+ messages in thread
From: david.hagood @ 2009-09-01 15:46 UTC (permalink / raw)
  To: git

I am having a problem trying to support my poor, deluded cow-orkers who
use Windows and need to use GIT.

The scenario goes something like this:

They have a local repo, they have changes on their branch, they are
staging a commit to the master branch on their local.

They do a "git merge" and the merge has conflicts. They need to undo the
merge, so they do a "git reset --hard".

>From that point onward, if they try to access the origin repository (e.g.
"git pull") they get the error message

Error: Entry "Some file name" not uptodate: cannot merge.

We've tried "git reset --hard; git pull ." We've tried "git reset --hard;
git checkout -f master". Neither seems to fix this.

We Linux users don't see this.

I conjecture it is something to do with DOS's CR/LF line endings (the
files in question are a type of XML file which ALWAYS have CR/LF endings,
even under Linux) - perhaps *something* in the GIT processing chain is
trying to do a CR/LF -> LF conversion, and screwing things up.

Does anybody have any suggestions on what I am doing wrong (Please, not
"you are using Windows")?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-01 23:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 15:46 Problems with GIT under Windows - "not uptodate" david.hagood
2009-09-01 16:52 ` Eric Raible
2009-09-01 22:56   ` Johannes Schindelin
2009-09-01 23:16     ` Eric Raible
2009-09-01 23:19       ` Johannes Schindelin
2009-09-01 18:19 ` skillzero
2009-09-01 18:25   ` david.hagood

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).