Setting default branch

The default branch is considered the "base" branch in your repository, against which all pull requests and code commits are made.

CodeFactor will try to identify default branch when importing new repository. If you have admin rights over a repository, you can set new default branch:

  1. Go to repository Settings
  2. Change the default branch using the dropdown.