<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> schrieb am Fr., 12. Juli 2019, 01:03:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've not needed GRASS for a while, but now I need to model hydrology for a<br>
location.<br>
<br>
Here, I removed the source directory ~/gis/grass/grass7_trunk/ which used to<br>
be updated from the svn repository. I tried to replace the source with that<br>
in the github master but failed. Please show me what I missed.<br>
<br>
Following this instruction: "The GRASS GIS software lives in the Git source<br>
control system hosted by GitHub. It can be browsed online using<br>
GitHub UI. With the Git client software installed, various versions<br>
can be accessed:<br>
   git clone <a href="https://github.com/OSGeo/grass.git" rel="noreferrer noreferrer" target="_blank">https://github.com/OSGeo/grass.git</a>"<br>
<br>
$ git clone <a href="https://github.com/OSGeo/grass.git" rel="noreferrer noreferrer" target="_blank">https://github.com/OSGeo/grass.git</a><br>
Cloning into 'grass'...<br>
remote: Enumerating objects: 120, done.<br>
remote: Counting objects: 100% (120/120), done.<br>
remote: Compressing objects: 100% (110/110), done.<br>
remote: Total 229474 (delta 77), reused 35 (delta 10), pack-reused 229354<br>
Receiving objects: 100% (229474/229474), 237.22 MiB | 1.78 MiB/s, done.<br>
Resolving deltas: 100% (169917/169917), done.<br>
Checking out files: 100% (7360/7360), done.<br>
<br>
I see nothing different in ~/gis/grass; there's not a git repo there.<br>
Anyway, I try:<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you</div><div dir="auto"><br></div><div dir="auto">cd grass/</div><div dir="auto"><br></div><div dir="auto">?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">$ git checkout master</blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
fatal: Not a git repository (or any parent up to mount point /)<br>
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">To me it looks that you tried this in there parent dir.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Should I initialize a local repo (git init) in ~/gis/grass before cloning<br>
and checking out the master?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">No. Just be in the right directory.</div><div dir="auto"><br></div><div dir="auto">HTH</div><div dir="auto">Markus</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
TIA,<br>
<br>
Rich<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank" rel="noreferrer">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div></div></div>