* Create a reference * @see https://developer.github.com/v3/git/refs/#create-a-reference * @param {Object} options - the object describing the ref * @param {Requestable.callback} [cb] - will receive the ref * @return {Promise} - the promise for the http request
(options, cb)
| 51 | * @return {Promise} - the promise for the http request |
| 52 | */ |
| 53 | createRef(options, cb) { |
| 54 | return this._request('POST', `/repos/${this.__fullname}/git/refs`, options, cb); |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Delete a reference |
no test coverage detected