Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Fix create-reference #82

wants to merge 1 commit into from

2 participants


The :ref should be added to the end of the path, not placed in the body.


I think the api you are looking for is update ref. create-reference has the ref in the body, update is in the path.


It seems I may have been a little confused. I note that the test for create-reference is still commented out though:


Anyway, turns out it was update-reference I needed. Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2013
  1. @ForbesLindesay

    Fix create-reference

    ForbesLindesay authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  api/v3.0.0/routes.json
2  api/v3.0.0/routes.json
@@ -504,7 +504,7 @@
"create-reference": {
- "url": "/repos/:user/:repo/git/refs",
+ "url": "/repos/:user/:repo/git/refs/:ref",
"method": "POST",
"params": {
"$user": null,
Something went wrong with that request. Please try again.