Hi Steve,<div><br></div><div>If it's about the compile artifacts, then you could add this .gitignore file:</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/pgRouting/pgrouting/blob/master/.gitignore">https://github.com/pgRouting/pgrouting/blob/master/.gitignore</a></div>
<div><br></div><div>Kishore actually added it some time ago and it's also on the master branch. But maybe it didn't make it everywhere yet.</div><div><br></div><div>Otherwise, you could just clone the repository twice in two directories.</div>
<div>And if you don't want all branches, maybe this helps: <a href="http://strk.keybit.net/blog/tag/qgis/">http://strk.keybit.net/blog/tag/qgis/</a></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br></div><div>Daniel</div><div><br><br><div class="gmail_quote">On Sun, Jul 10, 2011 at 8:20 AM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 7/9/2011 5:40 PM, Daniel Kastl wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Steve,<br>
<br>
I actually never create directories, just switch branches with<br>
"checkout" command.<br>
The only issue there: it will prevent you from switching branches, when<br>
you made some changes to the source and didn't commit first.<br>
<br>
Is there any particular reason to keep them in separate directories?<br>
</blockquote>
<br></div>
Yes for just this reason. I often compile in the source tree which leaves artifacts and sometimes play with the code but stuff would never get committed like debug stuff.<br>
<br>
-Steve<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Daniel<br>
<br>
<br>
On Sun, Jul 10, 2011 at 4:07 AM, Stephen Woodbridge<br></div><div class="im">
<<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a> <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>>> wrote:<br>
<br></div><div><div></div><div class="h5">
Jay,<br>
<br>
Thanks. OK, that is interesting - it checks out the additional branch<br>
<br>
<br>
woodbri@mappy:~/work/ pgrouting-git/pgrouting$ git branch<br>
* gsoc-tdsp<br>
master<br>
<br>
and converts the cwd to that branch. And I can switch the directory<br>
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<br>
to create two directories one with each branch instantiated in it. I<br>
suppose I could rsync the checked out view into another directory or<br>
clone the repository for each separate instance I want and then<br>
change the instance to the branch.<br>
<br>
The rsync method seems to work but is a little awkward. Well if<br>
anyone has any additional ideas, let me know.<br>
<br>
-Steve<br>
<br>
<br>
On 7/9/2011 2:11 PM, Jay Mahadeokar wrote:<br>
<br>
Hi,<br>
<br>
Firstly, I am also a newbie in git and I have only learned<br>
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" target="_blank">http://progit.org/book/ch3-5</a>. html<br>
<<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>
<<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a> <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>><br></div></div>
<mailto:<a href="mailto:woodbri@swoodbridge" target="_blank">woodbri@swoodbridge</a>. com<div><div></div><div class="h5"><br>
<mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>>>> wrote:<br>
<br>
Hi all,<br>
<br>
I have a git newbie question. I have checked out the git<br>
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'm sure there has to be a simple way to do this, but I'm<br>
not seeing it.<br>
<br>
Thanks,<br>
-Steve<br>
______________________________ _________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>><br>
<mailto:<a href="mailto:pgrouting-dev@lists" target="_blank">pgrouting-dev@lists</a>. <a href="http://osgeo.org" target="_blank">osgeo.org</a><br>
<mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>>><br>
<br>
<a href="http://lists.osgeo.org/" target="_blank">http://lists.osgeo.org/</a> mailman/listinfo/pgrouting-dev<br>
<<a href="http://lists.osgeo.org/" target="_blank">http://lists.osgeo.org/</a> mailman/listinfo/pgrouting-dev<br>
<<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>> ><br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
-Jay Mahadeokar<br>
<br>
</div></div></blockquote><div><div></div><div class="h5">
______________________________<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 & 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>