The API documents a "create branch" method that takes 3 params: project_id, branch_name and ref - however I can not figure out what to do with ref? http://doc.gitlab.com/ce/api/branches.html
I can not figure out what to provide as "ref" - no matter what I do (tried empty string) I get: *ErrorException' with message 'Invalid reference name'* *Any ideas as to how I can provide ref? Or am I missing something in the way I go about things?* My goal is to create a repository from the API and add some files to it. But since the project does not by default have a branch I want to create it before adding files. Cheers Jens -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/b0b42032-1a20-4347-8350-5b7b34074e68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.