[GRASS-user] Pulling source changes from github [RESOLVED]
Rich Shepard
rshepard at appl-ecosys.com
Wed Sep 15 14:33:00 PDT 2021
On Wed, 15 Sep 2021, Jeff McKenna wrote:
> This is likely due to the default branch name changing to 'main' (instead
> of 'master'). I documented the steps for the MapServer community at
> https://github.com/MapServer/MapServer/wiki/Renamed-Default-Branch
Jeff,
I thought it was a name change but my use of git is pretty well limited to
creating new repos for projects and updating them as needed. I have the
pro-git book but wouldn't know how to find what is needed because I'm far
from a git expert.
> But you can likely just issue the following commands in your local
> machine:
>
> git branch -m master main
> git fetch origin
> git branch -u origin/main main
> git remote set-head origin -a
That worked well. Thank you very much.
Stay well,
Rich
More information about the grass-user
mailing list