Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Links to code outside this repository
  • Issues and PRs made to master before renaming
  • Integrations
  • Forks
  • Documentation

Evaluation:

This script provides a quick and easy interface to replace "master" with "main" on a GitHub repository and update the local to "main."  It is intentionally conservative in its approach and does not delete branches on the local or remote, so all removal of "master" should be done manually.  This script may be especially useful when used with GitHub's upcoming seamless transition tooling.