[GIT] 1. GitHub 업로드 맛보기

편준민's avatar
Mar 19, 2025
[GIT] 1. GitHub 업로드 맛보기
 

1. 소스코드 관리하기 (해당 폴더로 이동해서)

git init git add . git commit -m "view complete"

2. GitHub 저장소 만들기

notion image

3. 저장소 내 컴퓨터에 연결하기

git remote add origin https://github.com/PJumMin/storev1.git
notion image
  • Terminal에 붙여넣기
notion image
git remote add origin https://github.com/PJumMin/storev1.git

4. 연결된 것 확인하기

$ git remote -v
notion image

5. 업로드하기

git push origin master
  • 최초 실행 시 뜨는 로그인 팝업
notion image
  • Terminal에 로그인 성공 메세지
notion image

6. 자격증명 확인하기

win키 눌러 검색
win키 눌러 검색
windows 자격 증명 클릭
windows 자격 증명 클릭
notion image
 
Share article

YunSeolAn