0
I’m starting programming and we’re going to use git/github, I’m creating the first project; I followed the steps : I started a repository ( git init ); I linked the local repository to the remote (git remote add origin https://github.com/jlamancio/aula1-github.git; When updating the local repository to remote ( git pull origin master) it is returning the following error: - fatal: couldn’t find remote ref master. Can you help me ?
When you create the local repository, the default branch is
master
; when you create in Github is the branchmain
(because Github changed this pattern a long time ago). You need to set the same name in the branchs.– Woss