Skip to content

Instantly share code, notes, and snippets.

@tylergaw
Last active July 9, 2020 13:46
Show Gist options
  • Save tylergaw/069e2593846ed459133906f9b226d73d to your computer and use it in GitHub Desktop.
Save tylergaw/069e2593846ed459133906f9b226d73d to your computer and use it in GitHub Desktop.

Steps Taken When Moving a Repo from Bitbucket to GitHub

  1. Created new repo via GH UI
  2. Changed remote URL of local repo from Bitbucket to GH, pushed to GH
git remote set-url origin git@github.com:Vergil-Inc/app-web.git
git push -u origin master
  1. Created new main branch in GH UI
  2. Set default branch to main and deleted master in GH UI Reference
  3. Updated merge button settings: Don't allow merge commits or rebase merging. Only allow squash merging
  4. Set Automatically delete head branches

One-time changes

These are one-time steps needed to make sure everyone has access to the private repo

  1. Created the "core" team. With Sean and myself.
  2. Gave core Admin access to the new repo app-web

Notes

  • Permissions and teams are always weird. It'll take some time for us to get access worked out how we want it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment