Git 과 GitHub
- Git은
버전관리시스템이다.
- Git의 저장소는 로컬저장소(Local Repository)와 원격 저장소(Remote Repository)로 나눌 수 있다.
- GitHub는 깃의 원격저장소(Remote Repository)역할을 한다.
Working Directory
Staging Area
- Local Repository에 저장하기 전 저장되는 공간 - 프로젝트 버전 확립
Local Repository
- 변경 내역들과 함께 파일이 저장되는 공간 - 마지막 로컬 저장소
Remote Repository
깃허브 용어 정리
commit
- local Repository에 파일을 업로드 하는 것, Stagingg Area에서 Local Repository로 커밋을 진행
push
- 최종본을 Local Repository 에서 Remote Repository로 갱신, 저장
pull
- Remote Repository에서 Local Repository 로 가져오는 것 주로 Local Repository과 Remote Repository가 연결되어있고 일부 내용을 동기화 시킬 때 사용
clone
- Remote Repository에서 Local Repository 로 가져오는 것 Local Repository와 Remote Repository가 연결되어있지 않아 Local Repository가 비어있는 가장 초기 상태 사용
fork
- 한 Remote Repository 다른 Remote Repository 로 복사하는 것