<div dir="ltr"><br><br>On Sun, Jun 2, 2019 at 11:12 PM Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>><br>> On Sun, Jun 2, 2019 at 10:52 PM Panagiotis Mavrogiorgos<br>> <<a href="mailto:pmav99@gmail.com">pmav99@gmail.com</a>> wrote:<br>> ...<br>> > Markus wrote:<br>> >> It there a way (magic flag?) to avoid this out-of-sync in the first place?<br>> >> E.g., for the cronjobs I do not want to go there weekly and "git push"<br>> >> stuff around.<br>> ><br>> > Yes, but we need to know the contents of the cron scripts first.<br>><br>> It simply follows the HowToGit on trac which leads to the mentioned problem.<br>><br>> What I am searching for is that the disk copy is the same as on the<br><div>> server.</div><div><br></div><div>Which version on the server? The orginal GRASS repo (<a href="https://github.com/OSGeo/grass.git">https://github.com/OSGeo/grass.git</a>) or a fork? If the aim is to have an unmodified local copy that is in sync with the original GRASS repo, you don't need any other remote and it should be enough to pull.<br></div><div><br></div><div>> As it is a cronjob there will be no local changes. Still, some</div>> push magic seems to me missing from<br>> <a href="https://trac.osgeo.org/grass/wiki/HowToGit#Keepyourlocalsourcecodeuptodate">https://trac.osgeo.org/grass/wiki/HowToGit#Keepyourlocalsourcecodeuptodate</a><br><div><br></div><div>In this case (have a local copy in sync with <a href="https://github.com/OSGeo/grass.git">https://github.com/OSGeo/grass.git</a>) push is not needed (no modifications and no fork added as another remote).</div><div><br></div><div>Works ar t least for me.</div><div><br></div><div>Markus M<br></div><div>></div>> thanks,<br>> Markus<br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></div>