With Computer/Git, GitHub
-
[생활코딩] git2 - cli버전관리 -4.버전만들기With Computer/Git, GitHub 2020. 2. 9. 15:00
working tree 작업하는 공간 staging area 버전 합치는 곳 repository 버전 올리는곳(관리하는 곳) nano hello1.txt hello1.txt 파일 생성 ctrl + x 나가기 y 저장 enter로 밖으로 나옴 ls -al 조회하면 파일 확인 할 수 있고 cat hello1.txt 해당 파일 내용 확인 git status 앞으로 git쓰면서 제일 많이쓸 문장 no commits yet ===> 커밋==버전 아직 버전이 없어용 Untracked files -> 아직 관리되고 있지 않음 git add hello1.txt 하고 git status를 해보면 Changes to be committed: 버전관리 시작 즉, working tree에 있던 hello1.txt가 stagi..