infoh@DESKTOP MINGW64 /e/gitstudy08 (description)
$ git commit -am "add description" 등록 및 커밋
[description 079bdc1] add description
1 file changed, 1 insertion(+)
다시 master 브랜치로 체크아웃합니다. master 브랜치에서도 index.htm을 수정한 후 두 번 커밋합니다.
infoh@DESKTOP MINGW64 /e/gitstudy08 (description)
$ git checkout master 브랜치 이동
infoh@DESKTOP MINGW64 /e/gitstudy08 (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>Page Title</title>
</head>
<body>
<header>
<ul>
<li>깃소개</li>
<li>깃설치</li>
<li>커밋</li>
<li>브랜치</li>
<li>병합</li>
</ul>
</header>
<h1>hello GIT world!</h1>
<footer>
copyright all right 2020 reserved
by jiny
</footer>
</body>
</html>