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

Tips for different workflows/use cases

From
Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Date
Feb 3, 2008, 15:08 UTC
Message-ID
<8b65902a0802030708i204d1714od850a59d9d25d0c1@mail.gmail.com>
Hi,

<my_life> Up to recently, I used Git as a frontend to many SVN repo. The workflow is simple: a central SVN and a single "client" desktop. Now, I started to use Git at office. So I "discover" new problems and my actual experience is not enougth. </my_life>

Actually, I discovered two(/three) use cases for which I'm looking the
best (recommended) workflows. My idea is to identify the best
practices to avoid (as possible) complex situations.
1- The same developer uses two repo on two network connected computers.
For any reason, a developer has to work on two computers for the same
project. He sometimes hack on both computers. He uses two git
repositories to keep it work in sync. Note: the two computers are
connected, and the developer can pull/push via ssh.
So, what is the best practices:
- should he decide to push/pull every time from the same repo or
should he only use the "pull" command on each repo (and never push)
- should he decide to create a third repo and use it as central repo.

2- It's a variation of the previous one. Now, one of the two computers is a laptop. Is there any recommended practices to work with laptop?

3- Now, the two computer are not connected via network. Two possible solutions to sync our both computers: USB disk and e-mail. Any recommendation in this context?

I think that such recommendations must be shared on the wiki, for example on GitWorkflows or GitFaq pages.

-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/
Next: Dmitry Potapov
Message 1 of 2 in “Tips for different workflows/use cases”
  1. Guilhem BonnefilleFeb 3, 2008
  2. Dmitry PotapovFeb 3, 2008

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.