learn-git icon indicating copy to clipboard operation
learn-git copied to clipboard

Main vs Master

Open shubh-SJ opened this issue 3 years ago • 1 comments

i created repo with README.md and then the first branch on my Github was 'main' and after i 'git push origin master' there was some issue, master branch was created separately and couldn't pull my 'myName.js' to main

shubh-SJ avatar Jul 03 '22 09:07 shubh-SJ

because your main branch is named as "main" not master ,master was used some time before ,so try "git push origin main " ,and one more thing try not to create README.md at the very first when you are trying to learn

MohitGedar1 avatar Aug 20 '23 05:08 MohitGedar1