[git] github 연동

제이브로·2024년 2월 1일
0

git

목록 보기
3/11
post-thumbnail

1. Git Bash 실행

$ git config --global [user.name](http://user.name) "이름"
$ git config --global user.email "이메일"

2. Github repository 생성

github 홈페이지 로그인 후 > Repositories 접속 > New

github_connect1

README.md 등 본인 선택에 따른 옵션 선택합니다.

github_connect2

3. terminal 접속 및 연동

$ cd "연동하고 싶은 폴더" # 폴더 이동
$ git init
$ git add .
$ git commit -m "커밋 메시지"
$ git remote add origin " https 주소"
$ git push origin main

감사합니다.

profile
기록하지 않으면 기록되지 않는다.

0개의 댓글