-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed
Labels
Description
Describe the bug
Lesson 02 - GitHub Basics does not include initializing main branch with command git branch -M main. Gives error on push command because there is no branch to to push to.
To Reproduce
Steps to reproduce the behavior:
- Go to GitHub Basics
- Follow steps up to number 11 with
git push -u origin main - See error -
error: failed to push some refs to 'https://github.com/organization/example.git'
Expected behavior
Expected to push put to new repository without errors.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
Additional context
Add any other context about the problem here.
VaibhavPareek515
