Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated default branch name master used in example responses #452

Open
manedev79 opened this issue Jul 14, 2021 · 0 comments
Open

Outdated default branch name master used in example responses #452

manedev79 opened this issue Jul 14, 2021 · 0 comments

Comments

@manedev79
Copy link

manedev79 commented Jul 14, 2021

Observed

API response examples contain the outdated default branch name master.
It is still consistent with the Hello-World repo which does have the default branch master.

Expected

API response examples contain the current default branch name main.
The example Hello-World repo should be updated to use mainas default branch to reflect what people are seeing when creating a new repo today.

How to reproduce

curl -X POST 'https://api.github.com/user/repos' --data-raw '{ "name": "REST API Test" }'  
curl 'https://api.github.com/repos/{user}/REST-API-TEST'  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants