반응형
01.Git 다운로드
02. Github에서 레포지토리 생성
2-1) Repositories 클릭
2-2) 'New' 클릭
2-3) Repository 생성
03. Git Bash
올리고자 하는 파일 마우스 오른쪽 버튼 클릭 -> 'Open Git Bash here' 클릭
04. Git 설정
git config --global user.name "name" #사용자 이름
git config --global user.email "email" #사용자 이메일
git init #git 파일 생성
git add . #프로젝트 파일 모두 add
git commit -m "msg" #커밋 메세지
05. 파일 push(업로드)
git remote add origin https://github.com/user/repository.git #주소 입력
git push -u origin master
git remote add origin 주소입력
: Repositories 생성할때의 주소를 입력
반응형
'💻프로그래밍' 카테고리의 다른 글
[Docker] 윈도우11에서 도커 설치하기 (0) | 2024.04.16 |
---|