본문 바로가기
Git 필수 사용법

[git] 로컬 프로젝트 github에 올리기

by devebucks 2021. 5. 30.
728x90

터미널에 아래 명령어를 순차적으로 입력합니다.

당연히 경로는 자신에 피시에 만들어 놓은 프로젝트의 홈 경로에서 아래 명령어를 입력해야 합니다.

 

$ git remote add 깃허브 레포지토리 url

$ git add .

$ git commit  -m "메시지"

$ git push origin master 

 

 

git add 취소하기

git reset 

 

git reset 파일명
728x90

댓글