4.7.1 세 번째 커밋

    실습을 위해 index.htm 파일 내용을 좀 더 수정하여 세 번째 커밋을 하겠습니다. 간략하게 <title>~</title> 사이의 내용을 JINYGIT으로 수정한 후 저장합니다.

    infoh@hojin MINGW64 /e/gitstudy04 (master)

    $ code index.htm VS Code 실행

    index.htm

    <!DOCTYPE html>

    <html>

    <head>

    <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>JINYGIT</title>

    </head>

    <body>

    <h1>hello GIT world!</h1>

    </body>

    </html>

    파일을 수정한 후에는 반드시 다음과 같이 다시 수정된 파일을 스테이지 영역에 재등록합니다.

    infoh@hojin MINGW64 /e/gitstudy04 (master)

    $ git add index.htm 스테이지에 등록

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.