You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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 👍
Activity
tbranyen commentedon Feb 9, 2015
I think the create method takes six arguments, you've passed 4.
On Feb 9, 2015 10:28 AM, "Ashok Fernandez" notifications@github.com wrote:
ashokfernandez commentedon Feb 9, 2015
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
wrote:
maxkorp commentedon Feb 10, 2015
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 👍