Git 용어 정리

김현우·2021년 9월 5일
0
post-thumbnail

Git 용어

Repository : 저장소

  • Local Repository : 로컬 저장소
  • Remote Repository : 원격 저장소

Clone : 복제

  • Remote Repository를 Local Repository로 복제 하는 것

Staging : 스테이징

  • Commit 할 파일을 선택하는 것 <-> Unstaging

Commit : 커밋

  • Staging 된 파일의 업데이트를 Fix(확정)하는 것

Push : 푸시

  • Commit 된 Snapshot(업데이트 완료된 상태)을 Remote Repository에 업로드(업데이트)하는 것

Pull : 풀

  • Remote repository의 상태를 다운로드하여 Local Repository의 상태를 업데이트 하는 것 (Fetch + Merge)

Fetch : 패치

  • Remote Repository의 상태를 가져오기만 하는 것

Merge : 머지

  • 가져온 업데이트된 상태들을 하나로 합치는 것

Pull Request : 풀 리퀘스트 (PR)

  • 각각 업데이트된 서로 다른 개발 내용을 Remote Repository 관리자가 Merge 하도록 요청하는 것
profile
두려워 말라, 놀라지 말라, 굳세게 하리라

0개의 댓글