1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/services/repository
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870)
- Update default branch if needed
- Update protected branch if needed
- Update all not merged pull request base branch name
- Rename git branch
- Record this rename work and auto redirect for old branch on ui

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: delvh <dev.lh@web.de>
2021-10-08 19:03:04 +02:00
..
branch.go Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
generate.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
main_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
push.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repository.go Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
transfer_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
transfer.go Fix private repo permission problem (#16142) 2021-06-14 14:30:35 -04:00