← General Information

Redesign Repo During Launch

When a Banno Redesign site launches, its GitHub repo needs to be prepared for support going forward. Do the following:

I) Remove the old site’s deploy zip

  • If not, when pushing new code in Slack, it will put the old zip file onto Prod.

II) Rename the old and new branches in GitHub using the following steps

  • Old build’s branch adhering to this naming convention: oldsite_MM-DD-YY (The date should be the launch day of the new site)
  • New build’s branch to main
  1. Click Branches next to the branch dropdown on the repo’s Code home page
  2. Click the three dots to the right of the branch to rename
  3. Click Rename branch

III) Change default branch

  1. Settings tab
  2. General page > Default branch section
  3. Click the Switch to another branch button (DO NOT use the edit name button)
  4. Select main from the drop down
  5. Click Update

After these steps are done, the repo will have two branches.