New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create a new branch #391
Comments
I think the create method takes six arguments, you've passed 4.
|
Ahh I see, I was following the examples from the test files. What should be used for the signature parameter? Also is the head commit reference that I'm using from the tests correct? On Mon, Feb 9, 2015 at 6:12 PM, Tim Branyen notifications@github.com
|
Provided you have a git user configured, you should just be able to use Signature.default, which should grab the git global user name and email. I think the commit ref is correct, but I'd have to test to make sure. Those 5 args should be sufficient for you, as the promise should handle the 6th. I'm going to close this, and add creating a branch as a desired example. If you need more help, hop on into the Gitter room 👍 |
I am trying to create a new branch in my repo, however I am getting an error about a callback not existing. This is using version 0.2.7 from NPM
This results in the output
The text was updated successfully, but these errors were encountered: