<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 2, 2019 at 4:11 PM Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Vaclav, <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El dom., 2 jun. 2019 a las 21:52, Vaclav Petras (<<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 2, 2019 at 3:00 PM Veronica Andreo <<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi devs</div><div><br></div><div>Following instructions here: <a href="https://trac.osgeo.org/grass/wiki/HowToGit#Keepyourlocalsourcecodeuptodate" target="_blank">https://trac.osgeo.org/grass/wiki/HowToGit#Keepyourlocalsourcecodeuptodate</a>, I get:</div><div><br></div><div>[veroandreo@localhost grass7_trunk]$ git remote -v<br>origin git@github.com:veroandreo/grass.git (fetch)<br>origin git@github.com:veroandreo/grass.git (push)<br>upstream git@github.com:OSGeo/grass.git (fetch)<br>upstream git@github.com:OSGeo/grass.git (push)<br></div><div><br></div><div>[veroandreo@localhost grass7_trunk]$ git fetch upstream<br>remote: Enumerating objects: 242, done.<br>remote: Counting objects: 100% (242/242), done.<br>remote: Compressing objects: 100% (25/25), done.<br>remote: Total 296 (delta 223), reused 233 (delta 217), pack-reused 54<br>Receiving objects: 100% (296/296), 56.83 KiB | 1.18 MiB/s, done.<br>Resolving deltas: 100% (226/226), completed with 105 local objects.<br>From github.com:OSGeo/grass<br> * [new branch] changelog_fix_msg -> upstream/changelog_fix_msg<br> 3797ccaaf..b300e66fc master -> upstream/master<br> 1ca5e4e34..e1e13d782 releasebranch_7_4 -> upstream/releasebranch_7_4<br> 15f53e803..dcfce280b releasebranch_7_6 -> upstream/releasebranch_7_6<br></div><div><br></div><div>[veroandreo@localhost grass7_trunk]$ git branch -a<br>* master<br> remotes/origin/master<br> remotes/origin/releasebranch_7_0<br> remotes/origin/releasebranch_7_2<br> remotes/origin/releasebranch_7_4<br> remotes/origin/releasebranch_7_6<br> remotes/upstream/changelog_fix_msg<br> remotes/upstream/master<br> remotes/upstream/releasebranch_7_0<br> remotes/upstream/releasebranch_7_2<br> remotes/upstream/releasebranch_7_4<br> remotes/upstream/releasebranch_7_6</div><div><br></div><div>[veroandreo@localhost grass7_trunk]$ git rebase upstream/master<br>First, rewinding head to replay your work on top of it...<br>Fast-forwarded master to upstream/master.<br></div><div><br></div><div>[veroandreo@localhost grass7_trunk]$ git status <br>On branch master<br>Your branch is ahead of 'origin/master' by 51 commits.<br> (use "git push" to publish your local commits)<br></div><div><br></div><div>Why does my origin/master is now ahead by 51 commits, if I have not a single local change? I just want to get the new stuff from upstream and update my fork and local copy of the source code (what I used to do with `svn update`). <br></div><div><br></div></div></blockquote><div><br></div><div>Your branch 'master' is ahead of 'origin/master'. You need to push to origin (something like `git push origin` but I think little different, Git will tell you).<br></div></div></div></blockquote><div><br></div><div>but I haven't made a single change... that's what I don't get. How can I be ahead?<br></div></div></div></blockquote><div><br></div><div>Your local master branch is now in sync with upstream/master, but the commits from upstream/master are not in your origin/master (which is in GitHub fork), hence your master is ahead.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div>BTW, you can compare what you seen on GitHub with what you see locally, e.g.<br></div><div><br></div><div dir="ltr">git log --graph --abbrev-commit --pretty=oneline --max-count=10</div></div></div></blockquote><div><br></div><div>what am I supposed to see there? If I change to 50, i see:</div></div></div></blockquote><div><br></div><div>If you look at your fork's master at GitHub, these won't be there. (Assuming I got what is going on here.)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>[veroandreo@localhost grass7_trunk]$ git log --graph --abbrev-commit --pretty=oneline --max-count=50<br>* f01aa67cf<b> (HEAD -> master) </b>i18N: sync from Transifex<br>* 9d983ac94 Py2/Py3 compat: Use "gettext.install(..., unicode=True)" in Python 2.<br>* 65a5a96a6 PyGRASS GridModule silently ignores when module has no output defined, see <a href="https://trac.osgeo.org/grass/ticket/3852" target="_blank">https://trac.osgeo.org/grass/ticket/3852</a> (#21)<br>* e4835d475 v.db.addtable<br>* 3053328ae v.db.connect<br>* 85f000ebf r.stream.extract<br>* e5cfb9488 Python2 fixes<br>* e3ed0b7df super Python2 valide<br>* 196428874 added .github/FUNDING.yml<br>* 74f55730a r.out.mpeg fails because the output file name is empty<br>* e3418cbad change attribute/method argument name<br>* da230fe59 fixes<br>* 9a968d59e Draft intro added<br>* 6d0b0ded2 r.in.wms: add proxy for GDAL driver<br>* 94754df99 libinit: shorten GRASS prompt<br>* de48a8d77 r.cost/r.walk: check return code<br>* e9070421b libproj: fix support for PROJ6<br>* 29297bc2e segmentlib: malloc -> calloc<br>* efee46fc5 v.in.ogr: fix OGR extents<br>* 107e3a616 Travis-CI: enable ccache for faster builds<br>* f1d7d2394 svn2cl replaced with tools/gitlog2changelog.py<br>* e240b5a60 tools/gitlog2changelog.py: added<br>* 8036fa977 contributors.csv: email updated<br>* 67a759c39 translators.csv: email update (test for grass-commit ML notification)<br>* 99cae4154 wxGUI/digitizer: fixes for python 3 (<a href="https://trac.osgeo.org/grass/ticket/3777" target="_blank">https://trac.osgeo.org/grass/ticket/3777</a>)<br>* bf06fae1d lib/init/grass.py: Stop clearing the terminal<br>* 34e35a977 wxGUI About System: 'GRASS SVN revision' changed to more generic 'Code revision'<br>* 2b570a9a0 GRASS_VERSION_SVN -> GRASS_VERSION_GIT + update g.version<br>* 97a123681 update readme section - get write access<br>* 80072cf87 readme: Convert to markdown and add travis badge<br>* ccb7b6b28 r.contour: fix broken contour lines (#3846), clean contour lines tracing back on themselves<br>* c757924cc pygrass.gis: Make Region importable from grass.pygrass.gis<br>* 7f1dd0d9f pythonlib: fix encoding<br>* 9d4306801 fix tests for Python 3<br>* 8b9512b8b <b>(origin/master)</b> pygrass: fixing doctests (only for Python 3)<br>* ebe8eb958 pygrass: fixes for Python 3<br>* 4f2c2421e gunittest: when printing, it should be 'str' in py 2 and 3<br>* b29dda7dd t.rast.gapfill: fix tests<br>* b113de305 t.rast.univar: fix tests<br>* ec44b8432 pygrass: decode only if stdout/stderr not empty<br></div><div><br> </div><div>Note the boldface. What does it mean?</div><div>I'm completely lost...</div><div><br></div><div>Vero<br></div></div></div>
</blockquote></div></div>