A far easier workaround (especially if it’s been a while) is to go to the list of branches (https://github.com/your-org/your-repo/branches) search for your branch, recreate it, cancel the build on CircleCI, and then delete the branch again.
rsshilli
15
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How can I stop CircleCi from automatically deleting branches that are deleted from github? | 0 | 764 | February 7, 2023 | |
| Remove old branch | 1 | 1664 | April 14, 2016 | |
| How to prune old branches? | 2 | 1658 | December 14, 2018 | |
| Delete Git Branch | 5 | 6064 | February 20, 2019 | |
| Trigger CircleCI workflow on GitHub branch delete | 1 | 2172 | February 23, 2022 |