inblog logo
|
from-web-developer
    HowToUse

    GitHup Use

    Dec 11, 2023
    GitHup Use
    ↳ 가상 임대 컴퓨터
     
    • git = 버전 관리 시스템 → 버전 관리의 자동화
      • 형상 관리 - 각 로컬 컴퓨터들의 형상을 동일하게 만들어야 함.
      • 이 형상들이 모이면 버전이 됨.
    • 로컬 컴퓨터들의 commit 저장 공간 필요 ⇒ 병합 (CI = 지속적 통합)
      • 💡
        로컬 컴퓨터 = 사용자의 컴퓨터
        💡
        변경된 형상은 제외하고 동일해야 병합 가능 → 변경된 파일은 git이 자동으로 다운
     
    file 생성
    notion image
    notion image

    GITHUB 연결 방법

    GitHub: Let’s build from here
    GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...
    GitHub: Let’s build from here
    https://github.com/
    GitHub: Let’s build from here
    notion image
    notion image
    notion image
    → 터미널에서 연결하고자 하는 위치 입력
    git remote add origin ______
    github에서 제공하는 코드 입력
     
    notion image
    git remote -v
    원격지에 연결된 것을 확인 -> 아무것도 뜨지 않으면 연결된 것이 없다는 의미
    git push oringin master
    연결된 가상 컴퓨터로 데이터 전송
     
    💡
    ctrl d ⇒ 한 줄 복사 / ctrl c ⇒ git 질문에서 빠져 나오게 하는 단축키
     
     
     
    Share article

    from-web-developer

    RSS·Powered by Inblog