Open cboydstun opened 1 year ago
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.
git branch -M main
To Reproduce Steps to reproduce the behavior:
git push -u origin main
error: failed to push some refs to 'https://github.com/organization/example.git'
Expected behavior Expected to push put to new repository without errors.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.
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:
git push -u origin main
error: failed to push some refs to 'https://github.com/organization/example.git'
Expected behavior Expected to push put to new repository without errors.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.