We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16b1050 commit a82d2feCopy full SHA for a82d2fe
routers/api/v1/repo/branch.go
@@ -396,7 +396,7 @@ func ListBranches(ctx *context.APIContext) {
396
ctx.JSON(http.StatusOK, apiBranches)
397
}
398
399
-// UpdateBranch renames a repository's branch.
+// UpdateBranch updates a repository's branch.
400
func UpdateBranch(ctx *context.APIContext) {
401
// swagger:operation PATCH /repos/{owner}/{repo}/branches/{branch} repository repoUpdateBranch
402
// ---
0 commit comments