[cubing/fmc-duel] [replace] 🌐 Planning to replace a default branch named master with a branch named `main`.
No personal access token found.
Please create a personal access token at: https://github.com/settings/tokens
`main-branch` uses a personal access token for:
• Edit access to repositories.
• Higher rate limits.
• Access to private repositories.
(At the moment, `main-branch` also requires a personal access token to work for public operations.)
This token will be saved in plain text at: /Users/lgarron/.config/main-branch/github-personal-access-token
You can revoke the personal access token in GitHub or delete the file at any time.
Personal Access Token: ****************************************
Saving personal access token at: /Users/lgarron/.config/main-branch/github-personal-access-token
[cubing/fmc-duel] [create] 🌐 Planning to create branch `main` from existing default branch.
[cubing/fmc-duel] [create] 🌐 Getting current default branch name.
[cubing/fmc-duel] [create] ℹ️ Current default branch: master.
[cubing/fmc-duel] [create] ✅ Source branch (master) exists on GitHub. SHA: 43ec9062e344043e38a160daa4b1335270696c95
[cubing/fmc-duel] [create]
[cubing/fmc-duel] [create] 🌐 Creating branch main with SHA 43ec9062e344043e38a160daa4b1335270696c95
[cubing/fmc-duel] [create] ✅ Created branch main from master
[cubing/fmc-duel] [create]
[cubing/fmc-duel] [create] 🌐 Verifying that main has been created.
[cubing/fmc-duel] [create] 🌐 Waiting 1000ms before verifying.
[cubing/fmc-duel] [create] ✅ Verified that the new branch exists on GitHub.
[cubing/fmc-duel] [set] 🌐 Planning to set default branch to main
[cubing/fmc-duel] [set] ✅ New default branch (main) exists on GitHub. SHA: 43ec9062e344043e38a160daa4b1335270696c95
[cubing/fmc-duel] [set]
[cubing/fmc-duel] [set] 🌐 Setting main as the default branch on GitHub.
[cubing/fmc-duel] [set] ✅ Success
[cubing/fmc-duel] [set]
[cubing/fmc-duel] [set] 🌐 Verifying that main is the new default branch.
[cubing/fmc-duel] [set] ✅ Verified the new default branch.
[cubing/fmc-duel] [delete] 🌐 Planning to delete branch `master` from GitHub.
[cubing/fmc-duel] [delete] ✅ Branch currently exists on GitHub.
[cubing/fmc-duel] [delete] ✅ Branch is not the default branch.
[cubing/fmc-duel] [delete] ✅ No PRs found with this branch as a base (searched 0 open PRs).
[cubing/fmc-duel] [delete]
[cubing/fmc-duel] [delete] 🌐 Deleting branch master.
[cubing/fmc-duel] [delete] ✅ Branch deleted.
[cubing/fmc-duel] [delete]
[cubing/fmc-duel] [delete] 🌐 Verifying that master is deleted.
[cubing/fmc-duel] [delete] 🌐 Waiting 1000ms before verifying.
[cubing/fmc-duel] [delete] ✅ Branch deletion verified!
This repository was archived by the owner on Sep 3, 2020. It is now read-only.