<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">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><br></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><br></div></div>