Skip to content
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
This repository was archived by the owner on Dec 2, 2026. It is now read-only.

Question: How would I implement the equivalent of git status? #117

Closed

Description

@cadorn

I am having a hard time following the APIs.

Activity

  1. niahmiah commented on Dec 17, 2013

    @niahmiah

    +1. I want to be able to open the repo, and then report which branch or commit is currently checked out.... Some of what git status does. I have read over the API a few times and it looks like I have to open the repo, then specify a branch or commit to take action on. Is what I am trying to do possible with this module?

  2. cadorn commented on Dec 17, 2013

    @cadorn
    Author

    @niahmiah I think this lib is used to manipulate the files in .git and it leaves out the features needed to work against a working tree which is what git status needs.

  3. niahmiah commented on Dec 17, 2013

    @niahmiah

    Yeah, it looks like js-git, and the associated git-node, can achieve what I needed. Bonus, all javascript, no compile

    https://github.com/creationix/js-git
    https://github.com/creationix/git-node

  4. tbranyen commented on Mar 25, 2014

    @tbranyen
    Member

    @niahmiah were you able to accomplish what you needed from js-git/git-node? Just curious as to what the code solution looked like.

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