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

최재원's avatar
Mar 27, 2025
[GIT] 2. GitHub 업로드 맛보기

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

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

2. 깃헙 저장소 만들기

notion image

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

notion image
git remote add origin https://github.com/JJACK-1/storev1.git

4. 연결된 것 확인하기

git remote -v
notion image

5. 업로드하기

git push origin master
notion image
notion image
notion image
notion image
notion image

6. 자격 증명 확인하기

notion image
notion image
notion image
notion image
  • 깃헙 주소와 이 컴퓨터의 연결 자격 증명서
  • 로그아웃 하고 싶으면 저 자격증명 삭제
  • 추가로 HTTPS 인증 정보 삭제
    • git credential reject https://github.com
 
Share article

jjack1