[petsc-dev] git problem

Jed Brown jed at jedbrown.org
Sun Sep 11 09:27:20 CDT 2016


Matthew Knepley <knepley at gmail.com> writes:

> On Fri, Sep 9, 2016 at 9:51 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>>
>> > On Sep 9, 2016, at 9:45 PM, Matthew Knepley <knepley at gmail.com> wrote:
>> >
>> > On Fri, Sep 9, 2016 at 8:54 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> >
>> >    This came up and I haven't seen it before, google is not helpful in
>> resolving it.
>> >
>> >
>> > git pull http://bitbucket.org/vlc1/petsc vlc1/dmcomposite
>> > fatal: unable to access 'https://bitbucket.org/vlc1/petsc/': SSL
>> certificate problem: unable to get local issuer certificate
>> >
>> > Don't use https://, use the ssh:// protocol. You might have to fix it
>> in your .git/config
>>
>>   Note I'm pulling from some other guys repository, not the PETSc where my
>> ssh key will work. Until today this use to work for "other guys"
>> repositories.
>>
>
> SSH keys are not per repo, they work for Bitbucket. You can use the SSH
> form for any repo on the site.

I always use SSH.  My .ssh/config has

host bitbucket
     HostName=bitbucket.org
     User=git

so I would type

  git pull bitbucket:vlc1/petsc vlc1/dmcomposite


I don't understand your https issue; it works fine here.  You might have
to throw your Mac away to fix it.  ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160911/dc54a42f/attachment.sig>


More information about the petsc-dev mailing list