1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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>
This commit is contained in:
a1012112796
2021-10-09 01:03:04 +08:00
committed by GitHub
parent 56d79301b9
commit bb39359668
14 changed files with 357 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
-
id: 1
repo_id: 1
from: dev
to: master