Skip to content

Question: Is there a certificateCheck option available for pushing to a remote repository? #420

Closed

Description

@foundrium

I am currently accessing a private repository on Github using the https Oauth mechanism found here.

Using this Oauth mechanism works fine cloning a repository when I use the certificateCheck similar to the clone.js example

I am also trying to use a similar mechanism to push a new commit to the remote repository, but this certificateCheck mechanism does not seem to exist. I current see a Error: The SSL certificate is invalid when trying to do a push.

I can provide a code sample if needed, but thought maybe there was short answer to this question.

Thanks for any help that anyone can provide.

Activity

  1. tbranyen commented on Feb 24, 2015

    @tbranyen
    Member

    Hi @elaforc we reserve the issue tracker for bugs, and have an excellent Gitter channel you can find in the README for general support questions like this.

    That said, for pushing a remote you'd set the callback like this test:

    https://github.com/nodegit/nodegit/blob/master/test/tests/remote.js#L100-L104

  2. foundrium commented on Feb 24, 2015

    @foundrium
    Author

    Understood. Thanks for pointing me in the right direction (both with Gitter and my issue).

  3. tbranyen commented on Feb 24, 2015

    @tbranyen
    Member

    No worries, we're friendly folks, stop by and chat if you hit any more oddness. Our new site should be live in the coming month(s) :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions