Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@gabipetrovay

Description

@gabipetrovay
Issue body actions

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).

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.