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

Re: What's the best way to make my company migrate to Git?

From
ASAndrew Sayers <andrew-git@pileofstuff.org>
Date
Jun 1, 2010, 21:12 UTC
Message-ID
<4C0577D1.6030805@pileofstuff.org>
In-Reply-To
<AANLkTinO_Z-1myhT-0TBIjELiEd4H-NnESs-AjTIpEf9@mail.gmail.com>

I certainly think a "Git Traps for the Unwary" section would go well at the bottom of the page. My life would have been much easier if I could have shown people a page where they could find ways to fix the things I'd wrongly dismissed as non-problems.

I definitely agree about empty directories - even with Erik's point about git-svn handling these, it's an issue people will face when they transfer to git proper.

I'd suggest discussing svn:ignore as part of the wider topic of git's non-support of SVN properties. There are probably SVN teams out there with elaborate sets of properties to migrate, and svn:ignore is a nice hook to hang that discussion on without sending everyone else to sleep.

I agree that local/remote branches are worth discussing in more detail, although I'm not sure how to explain it in SVN-friendly terms beyond "this will seem weird at first, but will make sense eventually". In fact this is definitely a trap for the unwary, because the move from directory-branches to label-branches tripped our migration up when we had to rewrite tools that expected a "trunk" directory that was guaranteed to have mainline code.

I think it's also worth mentioning local/remote commits, as it's quite easy for people to commit and forget to push.

Finally, I agree that stash is certainly worth a mention - I'd also suggest explaining how it's useful with `git svn rebase` and with switching branches. So I'd recommend putting it after both of those sections.

I hope to have some writing time available this weekend, though that could easily not happen. So if someone else wants to have a crack at it, be my guest :)

	- Andrew
Previous: Daniele SegatoNext: Andreas Krey
Message 21 of 27 in “What's the best way to make my company migrate to Git?”
  1. Daniele SegatoMay 21, 2010
  2. Jakub NarebskiMay 21, 2010
  3. Daniele SegatoMay 22, 2010
  4. Jakub NarebskiMay 22, 2010
  5. Joshua JensenMay 22, 2010
  6. Andrew SayersMay 22, 2010
  7. Daniele SegatoMay 22, 2010
  8. Andrew SayersMay 23, 2010
  9. Daniele SegatoMay 24, 2010
  10. Lin MacMay 23, 2010
  11. Andrew SayersMay 23, 2010
  12. Michael J GruberMay 25, 2010
  13. Andrew SayersMay 31, 2010
  14. Michael J GruberJun 1, 2010
  15. Daniele SegatoJun 1, 2010
  16. Alexander IljinJun 1, 2010
  17. Daniele SegatoJun 1, 2010
  18. Alexander IljinJun 1, 2010
  19. Erik Faye-LundJun 1, 2010
  20. Daniele SegatoJun 1, 2010
  21. Andrew SayersJun 1, 2010
  22. Andreas KreyJun 2, 2010
  23. Michael J GruberJun 2, 2010
  24. Andrew SayersJun 5, 2010
  25. Steven MichalskeJun 6, 2010
  26. Sylvain RabotJun 2, 2010
  27. Daniele SegatoMay 23, 2010

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.