Skip to content

How to get remote latest commit? #559

Closed

Description

@olivierlesnicki

I have a nodegit repo and would like to check if it's out of sync with its remote.

Activity

  1. tbranyen commented on May 11, 2015

    @tbranyen
    Member

    Hey @olivierlesnicki please ask support questions in our Gitter room: https://gitter.im/nodegit/nodegit

  2. jamesplease commented on Feb 7, 2017

    @jamesplease

    For future visitors:

    getReferenceCommit('head');

    Docs:

    http://www.nodegit.org/api/repository/#getReferenceCommit

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