FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

A guide on how to create a new branch, switch to it and delete it. · Issue #588 · nodegit/nodegit · GitHub

Repository navigation

A guide on how to create a new branch, switch to it and delete it. #588

Description

It would be useful to have a guide that shows us how to create a new branch, do something with it, and delete it.

I tried both repo.checkoutBranch(name); and Git.Branch.create(repo, name, commit, 0, Git.Signature.now("Gabriel Petrovay", "gabipetrovay@gmail.com|~ ", "")).then(function (branch) { ... }) but no success. The former has no effect and the latter also complains that a callback is missing (which one I have no idea).

No activity

Activity on this issue will appear here.

Activity

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


      Back | FazBrowse Home | New Git URL