studyplan

git bash에서 github에 연동하는 방법 / remote add origin ,git push origin master /2022.04.06 (수) / git , gitbash , github , 명령어 본문

깃허브 github

git bash에서 github에 연동하는 방법 / remote add origin ,git push origin master /2022.04.06 (수) / git , gitbash , github , 명령어

무한머니 2022. 4. 6. 16:45

New Repository 클릭 

Repository name 에 

이름 적고 

 

Create repository 클릭 

 

 

하면 주소가 나온다 / 

그리고 복사하고 

 

git remote add origin 에 복사한 주소를 붙여넣기 하고 

엔터 누르면 연동이 되었다 

git remote -v로 연동 됐는지 확인하고 

 

업로드를 해보자 

git push origin master 하면 정상적으로 업로드가 된다 

빨간색으로 잘 올라간걸 확인할수 있다 

Comments