Microsoft Windows [Version 10.0.18363.1198]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\PC-02>git version
git version 2.28.0.windows.1
C:\Users\PC-02>d:
D:\>mkdir gittest
D:\>cd gittest
D:\gittest>git init
Initialized empty Git repository in D:/gittest/.git/
D:\gittest>dir
D 드라이브의 볼륨에는 이름이 없습니다.
볼륨 일련 번호: 0EE7-ADA3
D:\gittest 디렉터리
2020-11-25 오후 06:07 <DIR> .
2020-11-25 오후 06:07 <DIR> ..
0개 파일 0 바이트
2개 디렉터리 975,269,703,680 바이트 남음
D:\gittest>dir /a
D 드라이브의 볼륨에는 이름이 없습니다.
볼륨 일련 번호: 0EE7-ADA3
D:\gittest 디렉터리
2020-11-25 오후 06:07 <DIR> .
2020-11-25 오후 06:07 <DIR> ..
2020-11-25 오후 06:07 <DIR> .git <!-- local rp라는 증거 -->
0개 파일 0 바이트
3개 디렉터리 975,269,703,680 바이트 남음
D:\gittest>
D:\gittest>cd .git
D:\gittest\.git>dir
D 드라이브의 볼륨에는 이름이 없습니다.
볼륨 일련 번호: 0EE7-ADA3
D:\gittest\.git 디렉터리
2020-11-25 오후 06:07 130 config
2020-11-25 오후 06:07 73 description
2020-11-25 오후 06:07 23 HEAD
2020-11-25 오후 06:07 <DIR> hooks
2020-11-25 오후 06:07 <DIR> info
2020-11-25 오후 06:07 <DIR> objects
2020-11-25 오후 06:07 <DIR> refs
3개 파일 226 바이트
4개 디렉터리 975,269,703,680 바이트 남음
D:\gittest\.git>notepad config
D:\gittest\.git>
git status
D:\gittest>git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
file1.txt
nothing added to commit but untracked files present (use "git add" to track)
D:\gittest>git add *
D:\gittest>git status
On branch master
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: file1.txt
D:\gittest>
git config user.name "닉네임입력"
git config user.email "이메일입력"