Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just some other thoughts to complete Samuel's answer.</p> <ul> <li><p>Unlike SVN, branches and directories are completely unrelated in Git: having 3 branches (one for each member of the team) does not mean 3 directories. That is not what you meant in your question (since your directories are actually 3 roots for 3 Git repositories), but I prefer mention it explicitly just in case ;)</p></li> <li><p>Git being DVCS, the 3 repositories can be anywhere (not in 3 directories on the same computer). If they are reachable through an UNC path (<code>\\desktop\path\to\repo</code>), they can be designated as remote.</p></li> <li><p>Git <strong>clone does allow</strong> you to get references to remotes branches, but does not create tracking local branches allowing you to get the work of your colleagues. The ruby module "<a href="http://grb.rubyforge.org/" rel="nofollow noreferrer">remote branches</a>" can help.</p></li> <li><p>Be <a href="https://stackoverflow.com/questions/804115/git-rebase-vs-git-merge">wary of rebase</a> as it rewrites the SHA-1 of your branch (since you replay your commits on top of another branch): if your teammates based their merges on your branches, they will have to merge <em>all</em> your commits every time, even those already merged!<br> It is best to have 2 branches in this case:</p> <ul> <li>a <strong>working branch</strong> you are using for your development and rebase (to integrate the works of your peers, although even that operation could be done in its own branch)</li> <li>a <strong>publishing public branch</strong>, on which you only merge your stable work, and which can then be used by other remote repositories as a source for merges.</li> </ul></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload