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

Re: git newbie problems

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Dec 6, 2006, 09:39 UTC
Message-ID
<45768FE8.2030202@xs4all.nl>
In-Reply-To
<el55to$952$1@sea.gmane.org>
Jakub Narebski escreveu:
Show 15 quoted lines
>> 84219bb don't have input/templates/ any longer.
>> fatal: Entry '.gitignore' would be overwritten by merge. Cannot merge.
>> No merge strategy handled the merge.
>>
>> As a git newbie, I'm quite confused.  OK, there's no merge strategy...
>> so what do I do now?  With cvs, the changes would be dumped into the
>> file.  I look at the file, found the conflict, and tried it again.  I
>> got the same error message, and then it occurred to me that although I
>> changed the files in my ~/usr/src/lilypond, git might be storing these
>> files somewhere else.
> 
> Yes, the git error messages certainly needs to be made more user-friendly.
> What git says here that one version has '.gitignore' file handled by version
> control, and second has it outside version control. At least I think what
> it does.

Which is actually not true. .gitignore has been in the repo since we started using git. I have also seen this message pop up a few times in the beginning, but I can't recall why they happened.

-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Previous: Jakub NarebskiNext: Jakub Narebski
Message 3 of 38 in “git newbie problems”
  1. Graham PercivalDec 6, 2006
  2. Jakub NarebskiDec 6, 2006
  3. Han-Wen NienhuysDec 6, 2006
  4. Jakub NarebskiDec 6, 2006
  5. Han-Wen NienhuysDec 6, 2006
  6. Johannes SchindelinDec 6, 2006
  7. Junio C HamanoDec 6, 2006
  8. Daniel BarkalowDec 6, 2006
  9. Tom PrinceDec 6, 2006
  10. Graham PercivalDec 6, 2006
  11. Han-Wen NienhuysDec 6, 2006
  12. Junio C HamanoDec 6, 2006
  13. Jakub NarebskiDec 6, 2006
  14. Han-Wen NienhuysDec 6, 2006
  15. cvs-migration document: make the need for "push" more obviousJohannes Schindelin, Dec 6, 2006
  16. Jakub NarebskiDec 6, 2006
  17. Johannes SchindelinDec 6, 2006
  18. Jakub NarebskiDec 6, 2006
  19. New users, was Re: [PATCH] cvs-migration document: make the need for "push" more obviousJohannes Schindelin, Dec 6, 2006
  20. J. Bruce FieldsDec 6, 2006
  21. Han-Wen NienhuysDec 6, 2006
  22. J. Bruce FieldsDec 6, 2006
  23. Han-Wen NienhuysDec 6, 2006
  24. Johannes SchindelinDec 6, 2006
  25. J. Bruce FieldsDec 6, 2006
  26. J. Bruce FieldsDec 6, 2006
  27. Junio C HamanoDec 6, 2006
  28. Documentation: reorganize cvs-migration.txtJ. Bruce Fields, Dec 7, 2006
  29. Junio C HamanoDec 7, 2006
  30. J. Bruce FieldsDec 7, 2006
  31. Johannes SchindelinDec 7, 2006
  32. J. Bruce FieldsDec 7, 2006
  33. Johannes SchindelinDec 7, 2006
  34. J. Bruce FieldsDec 8, 2006
  35. Junio C HamanoDec 8, 2006
  36. J. Bruce FieldsDec 9, 2006
  37. Graham PercivalDec 6, 2006
  38. J. Bruce FieldsDec 6, 2006

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.