Hi Steve,<div><br></div><div>I actually never create directories, just switch branches with &quot;checkout&quot; command.</div><div>The only issue there: it will prevent you from switching branches, when you made some changes to the source and didn&#39;t commit first.</div>


<div><br></div><div>Is there any particular reason to keep them in separate directories?</div><div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">On Sun, Jul 10, 2011 at 4:07 AM, Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jay,<br>
<br>
Thanks. OK, that is interesting - it checks out the additional branch<div><br>
<br>
woodbri@mappy:~/work/<u></u>pgrouting-git/pgrouting$ git branch<br></div>
* gsoc-tdsp<br>
  master<br>
<br>
and converts the cwd to that branch.  And I can switch the directory between master and gsoc-tdsp with commands:<br>
<br>
git checkout master<br>
git checkout gsoc-tdsp<br>
<br>
respectively. So this is close, but it does not look like it is easy to create two directories one with each branch instantiated in it. I suppose I could rsync the checked out view into another directory or clone the repository for each separate instance I want and then change the instance to the branch.<br>



<br>
The rsync method seems to work but is a little awkward. Well if anyone has any additional ideas, let me know.<br>
<br>
-Steve<div><br>
<br>
On 7/9/2011 2:11 PM, Jay Mahadeokar wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Hi,<br>
<br>
Firstly, I am also a newbie in git and I have only learned commands that<br>
I are utterly essential for me. But I guess this could work.<br>
<br>
|git checkout -b gsoc-tdsp origin/gsoc-tdsp<br>
|<br>
<br>
Please refer [1] to be perfectly sure and also other options.<br>
<br>
[1] <a href="http://progit.org/book/ch3-5.html" target="_blank">http://progit.org/book/ch3-5.<u></u>html</a><br>
<br>
On Sat, Jul 9, 2011 at 11:27 PM, Stephen Woodbridge<br></div><div><div></div><div>
&lt;<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a> &lt;mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>&gt;&gt; wrote:<br>
<br>
    Hi all,<br>
<br>
    I have a git newbie question. I have checked out the git repository:<br>
<br>
    woodbri@mappy:~/work/ pgrouting-git/pgrouting$ git branch -r<br>
      origin/HEAD<br>
      origin/darp<br>
      origin/debian<br>
      origin/debian-karmic<br>
      origin/debian-maverick<br>
      origin/debian-natty<br>
      origin/devel-2_0<br>
      origin/gsoc-multimodal<br>
      origin/gsoc-tdsp<br>
      origin/master<br>
      origin/pristine-tar<br>
      origin/snapshot<br>
      origin/snapshot-maverick<br>
      origin/unittests<br>
      origin/upstream<br>
    woodbri@mappy:~/work/ pgrouting-git/pgrouting$ git tag -l<br>
    debian/1.04-ppa12_lucid1<br>
    debian/1.05-1_karmic1<br>
    debian/1.05-1_lucid1<br>
    debian/1.05-1_maverick1<br>
    upstream/1.04<br>
    upstream/1.05<br>
    v1.05<br>
<br>
<br>
    what I would like to do is create a directory for the<br>
    gsoc-multimodal and gsoc-tdsp projects in say ../gsoc-tdsp and<br>
    ../gsoc-multimodal and I can not figure out how to do this.<br>
<br>
    ~/work/pgrouting-git/pgrouting  is currently master<br>
<br>
    and I would like to create these:<br>
<br>
    ~/work/pgrouting-git/gsoc-tdsp<br>
    ~/work/pgrouting-git/gsoc- multimodal<br>
<br>
    I&#39;m sure there has to be a simple way to do this, but I&#39;m not seeing it.<br>
<br>
    Thanks,<br>
      -Steve<br>
    ______________________________ _________________<br>
    pgrouting-dev mailing list<br></div></div>
    <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a> &lt;mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>&gt;<div>


<br>
    <a href="http://lists.osgeo.org/" target="_blank">http://lists.osgeo.org/</a> mailman/listinfo/pgrouting-dev<br>
    &lt;<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><u></u>&gt;<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
-Jay Mahadeokar<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><br>
</div></blockquote><div><div></div><div>
<br>
______________________________<u></u>_________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG &amp; Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>


Web: <a href="http://georepublic.de/" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a></span><br>
</div>