1. Git의 3가지 공간 1) Working directory - Untracked : Add된 적 없는 파일, ignore된 파일 - tracked : Add된 적 있고 변경내역이 있는 파일 - git add 명령어로 Staging area로 이동 2) Staging area - 예시 : 작업을 위해 선택된 파일들 - git commit 명령어로 Repository로 이동 3) Repository - .git directory라고도 불림 - 커밋된 상태 4) 파일의 삭제와 이동 - 파일을 삭제한 후 git status로 확인을 하면 working directory에 있음 - 그래서, 번거롭게 git add . 처리를 해줘야 한다 - 하지만, git rm 파일명 명령어를 통해 삭제한 후 git status로 확인하면 Staging area에 있음 - 파일명을 변경한 후 git status로 확인을 하면 working directory에 있음 - 그래서, 번거롭게 git add . ...
#깃허브
#깃
#WorkingDirectory
#Untracked
#Tracked
#StagingArea
#Repository
#Git
#Github
#Head
#checkout
#commit
#fetch
#soft
#rm
#restore
#reset
#hard
#pull
#mv
#mixed
#add
원문링크 : [제대로 파는 Git & Github - by 알코] 5. Git 보다 깊이 알기