본문 바로가기

Python_Beginer/GIT

[GIT]Stage(스테이지)

반응형

1. 스테이지(Stage)

: 버전으로 만들 파일이 대기하는 곳

 

2. 스테이징(staging)

: 버전 만들 준비

 

3. git add 파일명

: 스테이징

$ git add hello.txt

warning: LF will be replaced by CRLF in hello.txt.
The file will have its original line endings in your working directory

 

(깃에서 자동으로 텍스트 문서의 CRLF 문자를 LF 문자로 변환해서 커밋)

 

4. 깃 상태 확인

$ git status

On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached ..." to unstage)
        new file:   hello.txt

 

반응형