We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577b3dd commit b388d01Copy full SHA for b388d01
routers/api/v1/repo/branch.go
@@ -386,7 +386,7 @@ func ListBranches(ctx *context.APIContext) {
386
ctx.JSON(http.StatusOK, apiBranches)
387
}
388
389
-// UpdateBranch renames a repository's branch.
+// UpdateBranch updates a repository's branch.
390
func UpdateBranch(ctx *context.APIContext) {
391
// swagger:operation PATCH /repos/{owner}/{repo}/branches/{branch} repository repoUpdateBranch
392
// ---
0 commit comments