Get a Reference
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
ref | String , full git ref |
options | Object , Optional request options |
Example:
tentacles.gitRef.get('gitterHQ/tentacles', 'heads/master')
Get all References
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
ref | String , full git ref |
options | Object , Optional request options |
Create a Reference
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
body | Object , reference create body |
options | Object , Optional request options |
Update a Reference
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
ref | String , full git ref |
body | Object , reference create body |
options | Object , Optional request options |
Delete a Reference
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
ref | String , full git ref |
options | Object , Optional request options |