728x90
1. 버전관리 시작하기
git init : 프로젝트 디렉토리 안에 .git이라는 디렉토리가 생김
git config user.name "{name}"
git config user.email "{email}"
2.Staging area란?
working directory : 프로젝트 디렉토리
staging area : 특정 버전으로 관리하고 싶은 파일들을 모아두는 장소
repository : 특정 시점의 stagin area를 커밋으로 남기면 저장되는 영역
3.Commit 이해하기
git add {files}
git add .
git commit -m "{commit_message}"
git log
'GitLab' 카테고리의 다른 글
GitLab 심화 강의 (0) | 2022.08.25 |
---|---|
GitLab 기초 강의 (0) | 2022.08.25 |