gitea/routers/api/v1/repo
来自村里的小螃蟹 cd9a13ebb4
Create a branch directly from commit on the create branch API (#22956)
#### Added
- API: Create a branch directly from commit on the create branch API
- Added `old_ref_name` parameter to allow creating a new branch from a
specific commit, tag, or branch.
- Deprecated `old_branch_name` parameter in favor of the new
`old_ref_name` parameter.

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-05-09 18:22:32 +08:00
..
blob.go
branch.go Create a branch directly from commit on the create branch API (#22956) 2023-05-09 18:22:32 +08:00
collaborators.go
commits.go Filters for GetAllCommits (#24568) 2023-05-09 09:06:05 +08:00
file.go Make repository response support HTTP range request (#24592) 2023-05-09 15:34:36 +08:00
fork.go Fix api error message if fork exists (#24487) 2023-05-02 20:26:38 -04:00
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
issue_attachment.go
issue_comment.go Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
issue_comment_attachment.go
issue_dependency.go Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go
label.go
language.go
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
migrate.go Match api migration behavior to web behavior (#23552) 2023-03-19 02:29:14 -04:00
milestone.go
mirror.go
notes.go Filters for GetAllCommits (#24568) 2023-05-09 09:06:05 +08:00
patch.go
pull.go Filters for GetAllCommits (#24568) 2023-05-09 09:06:05 +08:00
pull_review.go Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
release.go
release_attachment.go
release_tags.go
repo.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2023-05-09 01:30:14 +02:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go Pass 'not' to commit count (#24473) 2023-05-08 07:10:53 +00:00