Git (Working tree - Staging Area - Repository)
Local (내 컴퓨터) | Remote (원격) | |||||
Working Directory |
ㅡ git add → ← git reset ㅡ |
Staging Area |
ㅡ git commit → | Repository | ㅡ git push → ← git pull ㅡ |
Repository |
git init : intialize repository
.git : git repository
git status : working tree status
git add : add to staging area
git commit : create version
git log : show version
ctrl+inset : 복사
shift+insert : 붙여넣기
.gitignore : 버전관리를 원하지 않는 파일이 있을 경우, 이 파일을 만들고서 무시하고 싶은 파일 이름 적기
'GIT' 카테고리의 다른 글
[GIT] Cherry-pick & Rebase (0) | 2021.08.18 |
---|---|
[GIT] 협업 (0) | 2021.08.18 |
[GIT] 백업 (Backup) (0) | 2021.08.18 |
[GIT] 브랜치와 충돌 (Branch & Conflict) (0) | 2021.08.18 |
[GIT] 버전 관리 (0) | 2021.08.18 |
Git (Working tree - Staging Area - Repository)
Local (내 컴퓨터) | Remote (원격) | |||||
Working Directory |
ㅡ git add → ← git reset ㅡ |
Staging Area |
ㅡ git commit → | Repository | ㅡ git push → ← git pull ㅡ |
Repository |
git init : intialize repository
.git : git repository
git status : working tree status
git add : add to staging area
git commit : create version
git log : show version
ctrl+inset : 복사
shift+insert : 붙여넣기
.gitignore : 버전관리를 원하지 않는 파일이 있을 경우, 이 파일을 만들고서 무시하고 싶은 파일 이름 적기
'GIT' 카테고리의 다른 글
[GIT] Cherry-pick & Rebase (0) | 2021.08.18 |
---|---|
[GIT] 협업 (0) | 2021.08.18 |
[GIT] 백업 (Backup) (0) | 2021.08.18 |
[GIT] 브랜치와 충돌 (Branch & Conflict) (0) | 2021.08.18 |
[GIT] 버전 관리 (0) | 2021.08.18 |