Update default branch from master to main
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- bash, git
- Domain
- devops, documentation
Research direction
Check the bash-example repository's default branch and compare the getting started documentation's “Add the sample pipeline” step 5 with the proposed wording. Also review the linked powershell-example repository for its branch setup; done means the repository default and instructions no longer conflict for new users.
Written by the indexing model from the issue text.
Description
Hi Buildkite 👋
I'm going through the getting started guide and created my first agent with the bash example. I encountered a hurdle when running my first build. The pipeline defaults expect main as the default branch but only master exists on this repository.
I think two things can be done here to get your documentation in sync with the example repositories:
- We could update repository's default to
main - We could tweak the getting started documentation a little bit on point number 5 of the section
Add the sample pipeline(see screenshot below)
1. Default branch: main
My guess is that you now default all repository branches to main when creating pipelines (which is 👍) but this repository still has master as the default and new users trying out agents don't necessarily know that. The other getting started repository powershell-example has main as its default branch so all good there.
Here are screenshots of the issue:
![]() |
![]() |
|---|
2. Documentation update
The documentation seems to suggest that master is still the default for repositories and conflicts with Buildkite pipeline defaults. The doc could be updated to:
You can usually accept the defaults here. If your repository uses 'master' rather than 'main' branch, edit the Branch option. Select Create build. Buildkite takes you to the pipeline build.
Current documentation
- Dominant language
- Shell
- Stars
- 24
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from buildkite/bash-example
-
Dependency Dashboard Open
Difficulty 1/5 Under an hour Newbie friendliness 15/100
buildkite/bash-example#41 ·
-
Test issue Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
buildkite/bash-example#40 · 1 comment ·
-
Dependency Dashboard Open
Difficulty 1/5 Under an hour Newbie friendliness 20/100
buildkite/bash-example#20 ·
All issues in buildkite/bash-example
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
community-scripts/ProxmoxVE#17425 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·

