Skip to content

Suppress git hints about branch naming standards

Elliot Rushton requested to merge suppress-git-hints into main

What does this MR do?

Suppresses the git "hints" / warning about default branch naming standards in git 2.33

Why was this MR needed?

Because this message just "showed up" and started causing concern for people.

What's the best way to test this MR?

  1. Create a new project on gitlab.com, add a simple "hello world" CI job
  2. Disable shared runners, connect a runner build off of main, and run the job. Note the "hints" from git.
  3. Connect a runner build from this branch, run the job, note the hints are gone.

What are the relevant issue numbers?

Closes #28235 (closed)

Merge request reports