컴퓨터/git
git fatal error
풍경소리^^
2021. 10. 18. 08:13
https://junheejang.tistory.com/221
깃허브에 push 하는 방법과 error : src refspec master does not match any 에러 해결 방법
로컬 저장소에 있는 프로젝트를 깃허브로 push 하는 경우에 다음과 같은 메세지가 뜨는 경우가 발생한다. error: src refspec master does not match any error: failed to push some refs to 'https://github.com..
junheejang.tistory.com
git init
git config user.name "계정이름"
git config user.email "이메일@gmail.com"
github.com 레포지토리 생성
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/계정이름/앱이름react_app.git
git push -u origin main