[GRASS-dev] silly question

Michael Barton Michael.Barton at asu.edu
Wed Mar 4 17:47:39 PST 2020


Maybe. The assumption needs to be explicit soponce not everyone will have set up their github account with ssh.

Michael Barton
School of Human Evolution &Social Change
Center for Social Dynamics & Complexity
Arizona State University

...Sent from my iPad

On Mar 4, 2020, at 6:09 PM, Anna Petrášová <kratochanna at gmail.com> wrote:


Perhaps caused by some mixing of cloning with HTTPS vs SSH?

git clone git at github.com:petrasovaa/grass.git
git clone https://github.com/petrasovaa/grass.git<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_petrasovaa_grass.git&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=G6wnakZm0JqmYzAVOByYFN32J3kL3oZ2anyxQC_WTr8&s=fNu6uV8jtCfAIRvW5FgYFfZSW4cJ9ORL_G0b8rPPYCE&e=>

The instructions assume ssh.

On Wed, Mar 4, 2020 at 7:11 PM Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
Thanks Luca,

I also found someone here that pointed that out. I originally got instructions from the GRASS WIKI. There is either an error or it is something that does not work for Macs. The examples use a colon to indicate the repository owner instead of a slash. I had fixed that for the original clone command but did not catch it for the one setting upstream.

Also learned a new one that is exactly what I need in some circumstances:

git reset --hard origin/master

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=G6wnakZm0JqmYzAVOByYFN32J3kL3oZ2anyxQC_WTr8&s=6im9DnajgS2nc27IvW9Q6u8Np-Vy-7ZgFWmfthlxSGw&e=>, https://complexity.asu.edu/csdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__complexity.asu.edu_csdc&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=G6wnakZm0JqmYzAVOByYFN32J3kL3oZ2anyxQC_WTr8&s=PVImyDJloEzNztPfCrx_bOASdood6wZ94K-FEam6img&e=>

















On Mar 4, 2020, at 3:30 PM, Luca Delucchi <lucadeluge at gmail.com<mailto:lucadeluge at gmail.com>> wrote:

Hi Michael,

On Wed, 4 Mar 2020 at 19:49, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:

I want to do something that should be simple but it is not. I want to be able to update my fork of GRASS source code from master. The wiki instructions say I should be able to do this with:

git fetch upstream
git rebase upstream/master

But when I do, I get:

unable to access 'https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com-3AOSGeo_grass.git_&d=DwIBaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ocylBhKg4eZ-QJLCBa53vt3dUwHB_ZET96-XkejX2FU&s=t9pyApmJY3B5H0nFh-Gm1IG1VGltt378-0JryEOEZG8&e= ': Port number ended with 'O<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com-3AOSGeo_grass.git_&d=DwIBaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ocylBhKg4eZ-QJLCBa53vt3dUwHB_ZET96-XkejX2FU&s=t9pyApmJY3B5H0nFh-Gm1IG1VGltt378-0JryEOEZG8&e=%20':%20Port%20number%20ended%20with%20'O>'


it seems wrong the url, it should be https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_OSGeo_grass.git&d=DwIBaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ocylBhKg4eZ-QJLCBa53vt3dUwHB_ZET96-XkejX2FU&s=2s0FIt9ZZMaEF8dGFczUzV71CeMzJZ3MBNeNaOmhcp4&e=

Any suggestions? I don't want to have to keep forking and cloning

Michael



--
ciao
Luca

www.lucadelu.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lucadelu.org&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=G6wnakZm0JqmYzAVOByYFN32J3kL3oZ2anyxQC_WTr8&s=_UPqFVpVapOqjFy1Fv6pk0wnloZdvNYbKu4Qkp5JuXY&e=>

_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_grass-2Ddev&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=G6wnakZm0JqmYzAVOByYFN32J3kL3oZ2anyxQC_WTr8&s=wUOgG_g_E5JVH_JaHuVwXp0lVO_cjj51qlTFNurSLTo&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20200305/32f68915/attachment.html>


More information about the grass-dev mailing list