Python_Beginer/GIT
[GIT]Unmodified, Modified, Staged(비수정상태 / 수정상태 / 커밋 직전 상태)
AnKiWoong
2020. 1. 3. 20:50
반응형
$ ls -la
$ git status
$ vim hello2.txt
$ git stauts
$ git add hello2.txt
$ git status
$ git commit -m "delete b,c,d"
$ git status
$ git commit --amend
$ git status
1. Unmodified
: 수정되지 않은 상태
nothing to commit, working tree clean
2. Modified
: 수정된 상태
modified: hello2.txt
3. Staged
: 커밋 직전 단계
Changes to be committed:
4. git commit --amend
: 커밋 메시지 수정
반응형