다시 편집기가 실행됩니다. 편집기를 종료합니다.
Revert "Revert "Edit failure.txt again""
This reverts commit 78367d6986aea7d667bd47d91659f45ed44e177f.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Changes to be committed:
# modified: failure.txt
#
...
:q
git log 명령으로 커밋 목록을 조회합니다. git revert 결과, 커밋을 취소하는 새로운 커밋이 추가되었습니다.
administrator@vmgate:~/gittest$ git log --oneline
58f36ab (HEAD -> master) Revert "Revert Edit failure.txt again""
78367d6 Revert "Edit failure.txt again"
c04ba03 Merge branch 'newfile'
c1eea5f Close newfile
ae5674d Edit failure.txt again
fa7301f Create 2019AD.txt
5aba677 Edit failure.txt
bc8d4f5 Create failure.txt