inblog logo
|
jay0628
    Git

    [Git] 1. github 업로드 맛보기

    김주희's avatar
    김주희
    Mar 18, 2025
    [Git] 1. github 업로드 맛보기
    Contents
    0. Cursor 기본 터미널 Git Bash로 설정하기1. 소스코드 관리하기2. 깃헙 저장소 만들기3. 저장소 내 컴퓨터에 연결하기4. 연결된 것 확인하기5. 업로드하기6. 자격 증명 확인하기

    0. Cursor 기본 터미널 Git Bash로 설정하기

    notion image
    notion image
     

    1. 소스코드 관리하기

    username과 useremail은 최초 1번만 해두면 할 필요x
    git init git add . git commit -m "view complete"
     

    2. 깃헙 저장소 만들기

    notion image
     

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

    https://github.com/jh0804/storev1.git
    notion image
     
    git remote add origin https://github.com/jh0804/storev1.git
     

    4. 연결된 것 확인하기

    git remote -v
     

    5. 업로드하기

    git push origin master
     
    처음에만 로그인하라고 뜬다
    notion image
    인증 어쩌구 클릭하면 됨
     

    6. 자격 증명 확인하기

    notion image
     
    notion image
    notion image
     
     
     
     
     
     
     
     
    notion image
    notion image
    Share article

    jay0628

    RSS·Powered by Inblog