Main vs Master (Remove master permanently)

To prevent master (or really any deleted branch), from ever resurfacing in looker you have to have ALL five of the below.

  1. Follow instructions to migrate from master to main Configuring project version control settings  |  Looker  |  Google Cloud Documentation

  2. looker → Update Looker project’s Production Branch Name to main

  3. github → Remove/clean up master in GitHub remote

  4. looker → Looker-side cleanup: Sudo as EACH dev and delete the branch to purge the branch from Looker’s project state.

  5. github → Add repo ruleset to prevent update or create for branches matching “master”, this ensures a branch of that name will never be able to exist in the environment again

2 Likes