etc/study

Git 과 GitHub

만나쓰 2020. 5. 17. 01:05

 

버전 관리 시스템 (Version Control System)

 

-> 소스코드를 효율적으로 관리하기 위해 만들어진 것

 -> Git, Mecurial, Bazaar, Darcs 등

 -> 클라이언트가 파일들의 마지막 스냅샷을 가져오는 대신 repository 전체를 복제

 -> 서버 문제가 생겨도 클라이언트에 복제된 repository를 다시 서버로 복사하면 복구 됨

 -> 여러 개의 repository 존재

 -> 서버(GitHub) repository = 원격 repository

 -> 사용자 PC repository = 로컬 repository

 -> 여러 사용자도 서버에 직접 push, pull이 가능

 

 

p.s) 로컬 버전 관리 시스템 (Local Version Control System)

     중앙집중식 버전 관리 시스템 (Centralized Version Control System)

 

 

 

 

 

 

Git  VS  GitHub 

 

Git은 Git repository라고 불리는 데이터 저장소에 소스 코드 등을 넣어서 이용하는 것

이러한 Git repository를 인터넷 상에서 제공하는 서비스가 GitHub