본문 바로가기

Python_Beginer/GIT

[GIT]Working Tree(작업 트리)

반응형

1. 작업 트리(Working Tree)

: 파일 수정, 저장 등의 작업을 하는 디렉터리

 

2. 깃 상태 확인

$ git status

On branch master

No commits yet

nothing to commit (create/copy files and use "git add" to track)

 

3. 문서 생성

$ vim hello.txt

1

 

4. 문서 읽기

$ cat hello.txt

1

 

5. 깃 상태 재확인

$ git status

On branch master

No commits yet

Untracked files:
  (use "git add ..." to include in what will be committed)
        hello.txt

nothing added to commit but untracked files present (use "git add" to track)

 

6. untracked files

: 한번도 버전 관리하지 않은 파일

 

반응형