This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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
transfer.go
transfer_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00