[GRASS-user] Pulling source changes from github
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Sep 15 14:22:33 PDT 2021
Hi Rich,
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
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
(maybe Vashek wrote more details in a previous message here, but this is
my input, ha)
-jeff
--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/
On 2021-09-15 4:54 p.m., Rich Shepard wrote:
> The host for grass source code has changed. When I issue a 'git pull'
> request it fails:
> $ git pull
> Your configuration specifies to merge with the ref 'refs/heads/master'
> from the remote, but no such ref was fetched.
>
> What do I need to change here, and where do I change it, to pull changes to
> my local installation?
>
> TIA,
>
> Rich
More information about the grass-user
mailing list