You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'