Easily change your default branch without losing protections or PRs.
Go to file
jolheiser 8051697864
tidy
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-02-16 23:29:12 -06:00
.gitignore Initial Commit 2020-09-21 00:17:49 -05:00
gitea.go Convert open PRs 2020-09-21 19:42:41 -05:00
go.mod tidy 2021-02-16 23:29:12 -06:00
go.sum tidy 2021-02-16 23:29:12 -06:00
LICENSE Initial Commit 2020-09-21 00:17:49 -05:00
main.go Convert open PRs 2020-09-21 19:42:41 -05:00
Makefile Initial Commit 2020-09-21 00:17:49 -05:00
README.md Convert open PRs 2020-09-21 19:42:41 -05:00

main

Batch update your Gitea repository default branches

  • Migrate old default branch to new default branch
  • Copy branch protections
  • Change the target branch for all PRs that previously target old default branch

License

MIT