160204 파워쉘을 위한 git 명령어 모음

Edit

160204 파워쉘을 위한 git 명령어 모음

황현동 노트북 git powershell
git 을 항상 sourcetree로만 사용해 왔는데,
쉘에서 특히 파워쉘에서 잘 활용하기 위해서 정리를 해 봤습니다.
(그렇다고 파워쉘 특성이 있는 명령어를 사용한것은 많이 없습니다.
실습에는 도스쉘이나 심지어 bash같은 리눅스쉘도 상관없습니다.)
Pro Git 책에서 자주 사용하는 예제만 골라서 직접 테스트 해봤습니다.
https://play.google.com/store/books/details?id=qaGyAJ0US_kC

좋은 책을 만들어준 scott chacon께 감사드립니다.
무료로 좋은책을 공개해준 google 에도 감사드립니다.

전체 설정 확인
1.PS C:\project\mygittest> git config --list
2.core.symlinks=false
3.core.autocrlf=true
4.color.diff=auto
5.color.status=auto
6.color.branch=auto
7.color.interactive=true
8.help.format=html
9.http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
10.sendemail.smtpserver=/bin/msmtp.exe
11.diff.astextplain.textconv=astextplain
12.rebase.autosquash=true
13.user.name=Hyundong Hwang
14.user.email=hhd2002@gmail.com
15.core.excludesfile=C:\Users\Hyundong\Documents\gitignore_global.txt
16.core.repositoryformatversion=0
17.core.filemode=false
18.core.bare=false
19.core.logallrefupdates=true
20.core.symlinks=false
21.core.ignorecase=true
22.core.hidedotfiles=dotGitOnly
23.remote.origin.url=https://github.com/HyundongHwang/gittest.git
24.remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
25.branch.master.remote=origin
26.branch.master.merge=refs/heads/master

클론
1.PS C:\project> git clone https://github.com/HyundongHwang/gittest.git .\mygittest\
2.Cloning into '.\mygittest'...
3.remote: Counting objects: 10, done.
4.remote: Total 10 (delta 0), reused 0 (delta 0), pack-reused 10
5.Unpacking objects: 100% (10/10), done.
6.Checking connectivity... done.

현재 상태보기
1.PS C:\project\mygittest> git status
2.On branch master
3.Your branch is up-to-date with 'origin/master'.
4.nothing to commit, working directory clean

서버상태 보기
1.PS C:\project\mygittest> git remote -v
2.origin  git@github.com/HyundongHwang/gittest.git (fetch)
3.origin  git@github.com/HyundongHwang/gittest.git (push)

변경사항 확인
1.PS C:\project\mygittest> git diff
2.diff --git a/dir.txt b/dir.txt
3.index e864d16..65fa135 100644
4.Binary files a/dir.txt and b/dir.txt differ
스테이징 파일 삭제하기
1.PS C:\project\mygittest> git status
2.On branch master
3.Your branch is up-to-date with 'origin/master'.
4.Changes to be committed:
5.  (use "git reset HEAD <file>..." to unstage)
6.
7.        modified:   dir.txt
8.
9.PS C:\project\mygittest> git rm --cached .\dir.txt
10.rm 'dir.txt'
11.PS C:\project\mygittest> git status
12.On branch master
13.Your branch is up-to-date with 'origin/master'.
14.Changes to be committed:
15.  (use "git reset HEAD <file>..." to unstage)
16.
17.        deleted:    dir.txt
18.
19.Untracked files:
20.  (use "git add <file>..." to include in what will be committed)
21.
22.        dir.txt
23.
24.PS C:\project\mygittest>

변경사항 stach 이용하여 무시
그리고 다시 복원
1.PS C:\project\mygittest> git status
2.On branch master
3.Your branch is up-to-date with 'origin/master'.
4.Changes to be committed:
5.  (use "git reset HEAD <file>..." to unstage)
6.
7.        new file:   dir2.txt
8.        new file:   dir3.txt
9.
10.Changes not staged for commit:
11.  (use "git add <file>..." to update what will be committed)
12.  (use "git checkout -- <file>..." to discard changes in working directory)
13.
14.        modified:   dir.txt
15.
16.
17.
18.PS C:\project\mygittest> git stash save
19.Saved working directory and index state WIP on master: 5d4d6d2 test
20.HEAD is now at 5d4d6d2 test
21.
22.
23.
24.PS C:\project\mygittest> git status
25.On branch master
26.Your branch is up-to-date with 'origin/master'.
27.nothing to commit, working directory clean
28.PS C:\project\mygittest> git stash show
29. dir.txt  | Bin 3010 -> 3010 bytes
30. dir2.txt | Bin 0 -> 3302 bytes
31. dir3.txt | Bin 0 -> 3594 bytes
32. 3 files changed, 0 insertions(+), 0 deletions(-)
33.
34.
35.
36.PS C:\project\mygittest> git stash pop
37.On branch master
38.Your branch is up-to-date with 'origin/master'.
39.Changes to be committed:
40.  (use "git reset HEAD <file>..." to unstage)
41.
42.        new file:   dir2.txt
43.        new file:   dir3.txt
44.
45.Changes not staged for commit:
46.  (use "git add <file>..." to update what will be committed)
47.  (use "git checkout -- <file>..." to discard changes in working directory)
48.
49.        modified:   dir.txt
50.
51.Dropped refs/stash@{0} (98328051468c0254db4cd429e0750e920f1af487)
52.
53.
54.
55.PS C:\project\mygittest> git stash show
56.No stash found.
57.
58.
59.
60.PS C:\project\mygittest> git status
61.On branch master
62.Your branch is up-to-date with 'origin/master'.
63.Changes to be committed:
64.  (use "git reset HEAD <file>..." to unstage)
65.
66.        new file:   dir2.txt
67.        new file:   dir3.txt
68.
69.Changes not staged for commit:
70.  (use "git add <file>..." to update what will be committed)
71.  (use "git checkout -- <file>..." to discard changes in working directory)
72.
73.        modified:   dir.txt

로그 3개만 보기
1.PS C:\project\mygittest> git log -p -3
2.commit 5d4d6d20eb4f661b047ef18e613881c9807899c4
3.Author: Hyundong Hwang <hhd2002@gmail.com>
4.Date:   Wed Jan 27 18:57:12 2016 +0900
5.
6.    test
7.
8.diff --git a/abc.html b/abc.html
9.new file mode 100644

로그 트리로 보기
1.PS C:\project\mygittest> git log --pretty=format:"%h %s - %an %ar" --graph -10
2.* 5d4d6d2 test - Hyundong Hwang 3 hours ago
3.* e0f3057 test - Hyundong Hwang 4 hours ago
4.* 25dfeab 서브모듈 커밋 - hhd2002 9 months ago
5.* aea15df submodulechanged - hhd2002 9 months ago
6.* 899f8cf firstcommit - hhd2002 9 months ago

알리아스 만들기
1.$ git config --global alias.last 'log -1 HEAD'

git 도움말 콘솔에서 보기
꼼수인데… 절대 없을것 같은 sub명령어를 실행해본다.
모르는 sub명령어인데 이거 써보겠냐며 suggestion이 나온다. –;;
1.PS C:\project\mygittest> git commit --abcdefgh
2.error: unknown option `abcdefgh'
3.usage: git commit [<options>] [--] <pathspec>...
4.
5.    -q, --quiet           suppress summary after successful commit
6.    -v, --verbose         show diff in commit message template
7.
8.Commit message options
9.    -F, --file <file>     read message from file
10.    --author <author>     override author for commit
11....

브랜치 실습
브랜치를 만들고 master에 머지하는 실습
1.PS C:\project\mygittest> git branch
2.* master
3.
4.PS C:\project\mygittest> git branch feature/my-cool-func
5.
6.PS C:\project\mygittest> git branch
7.  feature/my-cool-func
8.* master
9.
10.PS C:\project\mygittest> git checkout feature/my-cool-func
11.Switched to branch 'feature/my-cool-func'
12.
13.PS C:\project\mygittest> git branch
14.* feature/my-cool-func
15.  master
16.
17.PS C:\project\mygittest> dir > cool.txt
18.PS C:\project\mygittest> dir > cool2.txt
19.PS C:\project\mygittest> git add *
20.
21.PS C:\project\mygittest> git commit -a -m "cool func"
22.[feature/my-cool-func 983f398] cool func
23. 2 files changed, 0 insertions(+), 0 deletions(-)
24. create mode 100644 cool.txt
25. create mode 100644 cool2.txt
26.PS C:\project\mygittest> git push
27.fatal: The current branch feature/my-cool-func has no upstream branch.
28.To push the current branch and set the remote as upstream, use
29.
30.    git push --set-upstream origin feature/my-cool-func
31.
32.
33.
34.PS C:\project\mygittest> git push -u
35.fatal: The current branch feature/my-cool-func has no upstream branch.
36.To push the current branch and set the remote as upstream, use
37.
38.    git push --set-upstream origin feature/my-cool-func
39.
40.
41.PS C:\project\mygittest> git push -u origin feature/my-cool-func
42.Counting objects: 4, done.
43.Delta compression using up to 4 threads.
44.Compressing objects: 100% (4/4), done.
45.Writing objects: 100% (4/4), 743 bytes | 0 bytes/s, done.
46.Total 4 (delta 2), reused 0 (delta 0)
47.To git@github.com:HyundongHwang/gittest.git
48. * [new branch]      feature/my-cool-func -> feature/my-cool-func
49.Branch feature/my-cool-func set up to track remote branch feature/my-cool-func from origin.
50.
51.PS C:\project\mygittest> git checkout master
52.Switched to branch 'master'
53.Your branch is up-to-date with 'origin/master'.
54.
55.PS C:\project\mygittest> dir > current.txt
56.PS C:\project\mygittest> dir > current2.txt
57.PS C:\project\mygittest> git add *
58.
59.PS C:\project\mygittest> git commit -a -m "current change"
60.[master af8f24d] current change
61. 2 files changed, 0 insertions(+), 0 deletions(-)
62. create mode 100644 current.txt
63. create mode 100644 current2.txt
64.PS C:\project\mygittest> git push
65.Counting objects: 4, done.
66.Delta compression using up to 4 threads.
67.Compressing objects: 100% (4/4), done.
68.Writing objects: 100% (4/4), 765 bytes | 0 bytes/s, done.
69.Total 4 (delta 2), reused 0 (delta 0)
70.To git@github.com:HyundongHwang/gittest.git
71.   035ce62..af8f24d  master -> master
72.
73.
74.
75.PS C:\project\mygittest> git merge feature/my-cool-func
76.Merge made by the 'recursive' strategy.
77. cool.txt  | Bin 0 -> 4470 bytes
78. cool2.txt | Bin 0 -> 4762 bytes
79. 2 files changed, 0 insertions(+), 0 deletions(-)
80. create mode 100644 cool.txt
81. create mode 100644 cool2.txt
82.
83.
84.
85.PS C:\project\mygittest> git log --graph
86.*   commit 92be49b3789a691546180f0b9822951b46084830
87.|\  Merge: af8f24d 983f398
88.| | Author: Hyundong Hwang <hhd2002@gmail.com>
89.| | Date:   Wed Jan 27 23:04:27 2016 +0900
90.| |
91.| |     Merge branch 'feature/my-cool-func'
92.| |
93.| * commit 983f398f54394f750475bd92ed61f36a552175b5
94.| | Author: Hyundong Hwang <hhd2002@gmail.com>
95.| | Date:   Wed Jan 27 23:01:24 2016 +0900
96.| |
97.| |     cool func
98.| |
99.* | commit af8f24dd06cf1582a770fea7254719dc52506e78
100.|/  Author: Hyundong Hwang <hhd2002@gmail.com>
101.|   Date:   Wed Jan 27 23:03:38 2016 +0900
102.|
103.|       current change
104.|
105.*   commit 035ce62b030f87e8ce3360bebe5477048200766c
106.|\  Merge: 159900b 54ace0a
107.| | Author: Hyundong Hwang <hhd2002@gmail.com>
108.| | Date:   Wed Jan 27 22:40:31 2016 +0900
109.| |
110.| |     Merge branch 'feature/abc'
111.| |
112.| * commit 54ace0a7b19f04aebc5726255cdd642b4f970982
113.| | Author: Hyundong Hwang <hhd2002@gmail.com>
114.| | Date:   Wed Jan 27 22:38:37 2016 +0900
115.| |
116.| |     abc *
117.| |
118.* | commit 159900b9d9908b0c5e410a75e67fa574821086ce
119.|/  Author: Hyundong Hwang <hhd2002@gmail.com>
120.|   Date:   Wed Jan 27 22:39:40 2016 +0900
121.|
122.|       master dir
123.|
124.
125.
126.
127.PS C:\project\mygittest> git push
128.Counting objects: 2, done.
129.Delta compression using up to 4 threads.
130.Compressing objects: 100% (2/2), done.
131.Writing objects: 100% (2/2), 345 bytes | 0 bytes/s, done.
132.Total 2 (delta 1), reused 0 (delta 0)
133.To git@github.com:HyundongHwang/gittest.git
134.   af8f24d..92be49b  master -> master
135.
136.
137.

submodule 추가
1.PS C:\project\gittest> git submodule init
2.
3.PS C:\project\gittest> git submodule add --force git@github.com:HyundongHwang/gitsubmodule.git
4.
5.PS C:\project\gittest> cd .\gitsubmodule\
6.
7.PS C:\project\gittest\gitsubmodule> git pull
8.Already up-to-date.
9.
10.PS C:\project\gittest\gitsubmodule> git remote -v
11.origin  https://github.com/HyundongHwang/gitsubmodule (fetch)
12.origin  https://github.com/HyundongHwang/gitsubmodule (push)
13.
14.PS C:\project\gittest\gitsubmodule> git status
15.On branch master
16.Your branch is up-to-date with 'origin/master'.
17.nothing to commit, working directory clean
18.
19.PS C:\project\gittest\gitsubmodule> cd ..
20.
21.PS C:\project\gittest> git status
22.warning: LF will be replaced by CRLF in .gitmodules.
23.The file will have its original line endings in your working directory.
24.On branch master
25.Your branch is up-to-date with 'origin/master'.
26.Changes to be committed:
27.  (use "git reset HEAD <file>..." to unstage)
28.
29.        modified:   .gitmodules
30.        new file:   gitsubmodule
31.
32.PS C:\project\gittest> git commit -a -m "add submodule gitsubmodule"
33.[master warning: LF will be replaced by CRLF in .gitmodules.
34.The file will have its original line endings in your working directory.
35.0f839b0] add submodule gitsubmodule
36.warning: LF will be replaced by CRLF in .gitmodules.
37.The file will have its original line endings in your working directory.
38. 2 files changed, 4 insertions(+)
39. create mode 160000 gitsubmodule
40.
41.PS C:\project\gittest> git push
42.Counting objects: 3, done.
43.Delta compression using up to 4 threads.
44.Compressing objects: 100% (3/3), done.
45.Writing objects: 100% (3/3), 391 bytes | 0 bytes/s, done.
46.Total 3 (delta 1), reused 1 (delta 0)
47.To git@github.com:HyundongHwang/gittest.git
48.   7d08691..0f839b0  master -> master
49.

submodule 내부에서 수정후 업데이트
1.PS C:\project\gittest\gitsubmodule> dir > dir.txt
2.
3.PS C:\project\gittest\gitsubmodule> git status
4.On branch master
5.Your branch is up-to-date with 'origin/master'.
6.Changes not staged for commit:
7.  (use "git add <file>..." to update what will be committed)
8.  (use "git checkout -- <file>..." to discard changes in working directory)
9.
10.        modified:   dir.txt
11.
12.no changes added to commit (use "git add" and/or "git commit -a")
13.
14.PS C:\project\gittest\gitsubmodule> git commit -a -m "modify dir.txt"
15.[master 5e79c29] modify dir.txt
16. 1 file changed, 0 insertions(+), 0 deletions(-)
17.
18.PS C:\project\gittest\gitsubmodule> git push
19.Counting objects: 3, done.
20.Delta compression using up to 4 threads.
21.Compressing objects: 100% (3/3), done.
22.Writing objects: 100% (3/3), 311 bytes | 0 bytes/s, done.
23.Total 3 (delta 2), reused 0 (delta 0)
24.To git@github.com:HyundongHwang/gitsubmodule.git
25.   7be4d74..5e79c29  master -> master
26.
27.PS C:\project\gittest\gitsubmodule> cd ..
28.
29.PS C:\project\gittest> git status
30.On branch master
31.Your branch is up-to-date with 'origin/master'.
32.Changes not staged for commit:
33.  (use "git add <file>..." to update what will be committed)
34.  (use "git checkout -- <file>..." to discard changes in working directory)
35.
36.        modified:   gitsubmodule (new commits)
37.
38.no changes added to commit (use "git add" and/or "git commit -a")
39.
40.PS C:\project\gittest> git submodule update
41.Submodule path 'gitsubmodule': checked out 'f57ae8c95b582dca790ef821e86ebd11e0f1ce51'
42.
43.PS C:\project\gittest> git status
44.On branch master
45.Your branch is up-to-date with 'origin/master'.
46.nothing to commit, working directory clean
47.

submodule 외부에서 수정후 업데이트
1.PS C:\project\gitsubmodule> git diff
2.diff --git a/dir.txt b/dir.txt
3.index 03a80a8..1181f77 100644
4.Binary files a/dir.txt and b/dir.txt differ
5.
6.PS C:\project\gitsubmodule> git commit -a -m "modify dir.txt"
7.[master add3b58] modify dir.txt
8. 1 file changed, 0 insertions(+), 0 deletions(-)
9.PS C:\project\gitsubmodule> git push
10.Counting objects: 3, done.
11.Delta compression using up to 4 threads.
12.Compressing objects: 100% (3/3), done.
13.Writing objects: 100% (3/3), 348 bytes | 0 bytes/s, done.
14.Total 3 (delta 2), reused 0 (delta 0)
15.To git@github.com:HyundongHwang/gitsubmodule.git
16.   5e79c29..add3b58  master -> master
17.
18.PS C:\project\gitsubmodule> cd ..
19.
20.PS C:\project> git .\gittest\
21.git: '.\gittest\' is not a git command. See 'git --help'.
22.
23.PS C:\project\gittest> cd .\gitsubmodule\
24.
25.PS C:\project\gittest\gitsubmodule> git status
26.HEAD detached at f57ae8c
27.nothing to commit, working directory clean
28.
29.PS C:\project\gittest\gitsubmodule> git checkout master
30.Previous HEAD position was f57ae8c... dir2.txt add
31.Switched to branch 'master'
32.Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
33.  (use "git pull" to update your local branch)
34.
35.PS C:\project\gittest\gitsubmodule> git status
36.On branch master
37.Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
38.  (use "git pull" to update your local branch)
39.nothing to commit, working directory clean
40.
41.PS C:\project\gittest\gitsubmodule> git pull
42.Updating 5e79c29..add3b58
43.Fast-forward
44. dir.txt | Bin 2290 -> 2032 bytes
45. 1 file changed, 0 insertions(+), 0 deletions(-)
46.
47.PS C:\project\gittest\gitsubmodule> git status
48.On branch master
49.Your branch is up-to-date with 'origin/master'.
50.nothing to commit, working directory clean
51.
52.PS C:\project\gittest\gitsubmodule> cd ..
53.
54.PS C:\project\gittest> git status
55.On branch master
56.Your branch is up-to-date with 'origin/master'.
57.Changes not staged for commit:
58.  (use "git add <file>..." to update what will be committed)
59.  (use "git checkout -- <file>..." to discard changes in working directory)
60.
61.        modified:   gitsubmodule (new commits)
62.
63.no changes added to commit (use "git add" and/or "git commit -a")
64.
65.PS C:\project\gittest> git submodule update
66.Submodule path 'gitsubmodule': checked out 'f57ae8c95b582dca790ef821e86ebd11e0f1ce51'
67.
68.PS C:\project\gittest> git status
69.On branch master
70.Your branch is up-to-date with 'origin/master'.
71.nothing to commit, working directory clean
72.PS C:\project\gittest>

submodule 제거
1.PS C:\project\gittest> git rm .\gitsubmodule\
2.rm 'gitsubmodule'
3.PS C:\project\gittest> git status
4.On branch master
5.Your branch is up-to-date with 'origin/master'.
6.Changes to be committed:
7.  (use "git reset HEAD <file>..." to unstage)
8.
9.        modified:   .gitmodules
10.        deleted:    gitsubmodule
11.
12.PS C:\project\gittest> git commit -a -m "remove gitsubmodule"
13.[master 0da6537] remove gitsubmodule
14. 2 files changed, 4 deletions(-)
15. delete mode 160000 gitsubmodule
16.
17.PS C:\project\gittest> git push
18.Counting objects: 3, done.
19.Delta compression using up to 4 threads.
20.Compressing objects: 100% (2/2), done.
21.Writing objects: 100% (3/3), 286 bytes | 0 bytes/s, done.
22.Total 3 (delta 1), reused 0 (delta 0)
23.To git@github.com:HyundongHwang/gittest.git
24.   0f839b0..0da6537  master -> master
25.
26.PS C:\project\gittest> git status
27.On branch master
28.Your branch is up-to-date with 'origin/master'.
29.nothing to commit, working directory clean
%23%20160204%20%uD30C%uC6CC%uC258%uC744%20%uC704%uD55C%20git%20%uBA85%uB839%uC5B4%20%uBAA8%uC74C%0A%0A@%28%uD669%uD604%uB3D9%20%uB178%uD2B8%uBD81%29%5Bgit%7Cpowershell%5D%0A%0Agit%20%uC744%20%uD56D%uC0C1%20sourcetree%uB85C%uB9CC%20%uC0AC%uC6A9%uD574%20%uC654%uB294%uB370%2C%20%0A%uC258%uC5D0%uC11C%20%uD2B9%uD788%20%uD30C%uC6CC%uC258%uC5D0%uC11C%20%uC798%20%uD65C%uC6A9%uD558%uAE30%20%uC704%uD574%uC11C%20%uC815%uB9AC%uB97C%20%uD574%20%uBD24%uC2B5%uB2C8%uB2E4.%0A%28%uADF8%uB807%uB2E4%uACE0%20%uD30C%uC6CC%uC258%20%uD2B9%uC131%uC774%20%uC788%uB294%20%uBA85%uB839%uC5B4%uB97C%20%uC0AC%uC6A9%uD55C%uAC83%uC740%20%uB9CE%uC774%20%uC5C6%uC2B5%uB2C8%uB2E4.%20%0A%uC2E4%uC2B5%uC5D0%uB294%20%uB3C4%uC2A4%uC258%uC774%uB098%20%uC2EC%uC9C0%uC5B4%20bash%uAC19%uC740%20%uB9AC%uB205%uC2A4%uC258%uB3C4%20%uC0C1%uAD00%uC5C6%uC2B5%uB2C8%uB2E4.%29%0A%0APro%20Git%20%uCC45%uC5D0%uC11C%20%uC790%uC8FC%20%uC0AC%uC6A9%uD558%uB294%20%uC608%uC81C%uB9CC%20%uACE8%uB77C%uC11C%20%uC9C1%uC811%20%uD14C%uC2A4%uD2B8%20%uD574%uBD24%uC2B5%uB2C8%uB2E4.%0Ahttps%3A//play.google.com/store/books/details%3Fid%3DqaGyAJ0US_kC%0A%21%5B%5D%28https%3A//books.google.com/books/content/images/frontcover/qaGyAJ0US_kC%3Ffife%3Dw300-rw%29%0A%uC88B%uC740%20%uCC45%uC744%20%uB9CC%uB4E4%uC5B4%uC900%20scott%20chacon%uAED8%20%uAC10%uC0AC%uB4DC%uB9BD%uB2C8%uB2E4.%0A%uBB34%uB8CC%uB85C%20%uC88B%uC740%uCC45%uC744%20%uACF5%uAC1C%uD574%uC900%20google%20%uC5D0%uB3C4%20%uAC10%uC0AC%uB4DC%uB9BD%uB2C8%uB2E4.%0A%0A%3Cbr/%3E%0A%0A%3E%20%uC804%uCCB4%20%uC124%uC815%20%uD655%uC778%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20config%20--list%0Acore.symlinks%3Dfalse%0Acore.autocrlf%3Dtrue%0Acolor.diff%3Dauto%0Acolor.status%3Dauto%0Acolor.branch%3Dauto%0Acolor.interactive%3Dtrue%0Ahelp.format%3Dhtml%0Ahttp.sslcainfo%3DC%3A/Program%20Files/Git/mingw64/ssl/certs/ca-bundle.crt%0Asendemail.smtpserver%3D/bin/msmtp.exe%0Adiff.astextplain.textconv%3Dastextplain%0Arebase.autosquash%3Dtrue%0Auser.name%3DHyundong%20Hwang%0Auser.email%3Dhhd2002@gmail.com%0Acore.excludesfile%3DC%3A%5CUsers%5CHyundong%5CDocuments%5Cgitignore_global.txt%0Acore.repositoryformatversion%3D0%0Acore.filemode%3Dfalse%0Acore.bare%3Dfalse%0Acore.logallrefupdates%3Dtrue%0Acore.symlinks%3Dfalse%0Acore.ignorecase%3Dtrue%0Acore.hidedotfiles%3DdotGitOnly%0Aremote.origin.url%3Dhttps%3A//github.com/HyundongHwang/gittest.git%0Aremote.origin.fetch%3D+refs/heads/*%3Arefs/remotes/origin/*%0Abranch.master.remote%3Dorigin%0Abranch.master.merge%3Drefs/heads/master%0A%60%60%60%0A%0A%3Cbr/%3E%0A%0A%3E%20%uD074%uB860%0A%60%60%60bash%0APS%20C%3A%5Cproject%3E%20git%20clone%20https%3A//github.com/HyundongHwang/gittest.git%20.%5Cmygittest%5C%0ACloning%20into%20%27.%5Cmygittest%27...%0Aremote%3A%20Counting%20objects%3A%2010%2C%20done.%0Aremote%3A%20Total%2010%20%28delta%200%29%2C%20reused%200%20%28delta%200%29%2C%20pack-reused%2010%0AUnpacking%20objects%3A%20100%25%20%2810/10%29%2C%20done.%0AChecking%20connectivity...%20done.%0A%60%60%60%0A%0A%3Cbr/%3E%0A%0A%3E%20%uD604%uC7AC%20%uC0C1%uD0DC%uBCF4%uAE30%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%60%60%60%0A%0A%3Cbr/%3E%0A%0A%3E%20%uC11C%uBC84%uC0C1%uD0DC%20%uBCF4%uAE30%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20remote%20-v%0Aorigin%20%20git@github.com/HyundongHwang/gittest.git%20%28fetch%29%0Aorigin%20%20git@github.com/HyundongHwang/gittest.git%20%28push%29%0A%60%60%60%0A%0A%3Cbr/%3E%0A%0A%3E%20%uBCC0%uACBD%uC0AC%uD56D%20%uD655%uC778%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20diff%0Adiff%20--git%20a/dir.txt%20b/dir.txt%0Aindex%20e864d16..65fa135%20100644%0ABinary%20files%20a/dir.txt%20and%20b/dir.txt%20differ%0A%60%60%60%0A%uC2A4%uD14C%uC774%uC9D5%20%uD30C%uC77C%20%uC0AD%uC81C%uD558%uAE30%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20dir.txt%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20rm%20--cached%20.%5Cdir.txt%0Arm%20%27dir.txt%27%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20deleted%3A%20%20%20%20dir.txt%0A%0AUntracked%20files%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20include%20in%20what%20will%20be%20committed%29%0A%0A%20%20%20%20%20%20%20%20dir.txt%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%0A%60%60%60%0A%0A%3Cbr/%3E%0A%0A%3E%20%uBCC0%uACBD%uC0AC%uD56D%20stach%20%uC774%uC6A9%uD558%uC5EC%20%uBB34%uC2DC%0A%3E%20%uADF8%uB9AC%uACE0%20%uB2E4%uC2DC%20%uBCF5%uC6D0%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20dir2.txt%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20dir3.txt%0A%0AChanges%20not%20staged%20for%20commit%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20update%20what%20will%20be%20committed%29%0A%20%20%28use%20%22git%20checkout%20--%20%3Cfile%3E...%22%20to%20discard%20changes%20in%20working%20directory%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20dir.txt%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20stash%20save%0ASaved%20working%20directory%20and%20index%20state%20WIP%20on%20master%3A%205d4d6d2%20test%0AHEAD%20is%20now%20at%205d4d6d2%20test%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20stash%20show%0A%20dir.txt%20%20%7C%20Bin%203010%20-%3E%203010%20bytes%0A%20dir2.txt%20%7C%20Bin%200%20-%3E%203302%20bytes%0A%20dir3.txt%20%7C%20Bin%200%20-%3E%203594%20bytes%0A%203%20files%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20stash%20pop%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20dir2.txt%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20dir3.txt%0A%0AChanges%20not%20staged%20for%20commit%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20update%20what%20will%20be%20committed%29%0A%20%20%28use%20%22git%20checkout%20--%20%3Cfile%3E...%22%20to%20discard%20changes%20in%20working%20directory%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20dir.txt%0A%0ADropped%20refs/stash@%7B0%7D%20%2898328051468c0254db4cd429e0750e920f1af487%29%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20stash%20show%0ANo%20stash%20found.%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20dir2.txt%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20dir3.txt%0A%0AChanges%20not%20staged%20for%20commit%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20update%20what%20will%20be%20committed%29%0A%20%20%28use%20%22git%20checkout%20--%20%3Cfile%3E...%22%20to%20discard%20changes%20in%20working%20directory%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20dir.txt%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20%uB85C%uADF8%203%uAC1C%uB9CC%20%uBCF4%uAE30%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20log%20-p%20-3%0Acommit%205d4d6d20eb4f661b047ef18e613881c9807899c4%0AAuthor%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0ADate%3A%20%20%20Wed%20Jan%2027%2018%3A57%3A12%202016%20+0900%0A%0A%20%20%20%20test%0A%0Adiff%20--git%20a/abc.html%20b/abc.html%0Anew%20file%20mode%20100644%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20%uB85C%uADF8%20%uD2B8%uB9AC%uB85C%20%uBCF4%uAE30%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20log%20--pretty%3Dformat%3A%22%25h%20%25s%20-%20%25an%20%25ar%22%20--graph%20-10%0A*%205d4d6d2%20test%20-%20Hyundong%20Hwang%203%20hours%20ago%0A*%20e0f3057%20test%20-%20Hyundong%20Hwang%204%20hours%20ago%0A*%2025dfeab%20%uC11C%uBE0C%uBAA8%uB4C8%20%uCEE4%uBC0B%20-%20hhd2002%209%20months%20ago%0A*%20aea15df%20submodulechanged%20-%20hhd2002%209%20months%20ago%0A*%20899f8cf%20firstcommit%20-%20hhd2002%209%20months%20ago%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20%uC54C%uB9AC%uC544%uC2A4%20%uB9CC%uB4E4%uAE30%0A%60%60%60bash%0A%24%20git%20config%20--global%20alias.last%20%27log%20-1%20HEAD%27%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20git%20%uB3C4%uC6C0%uB9D0%20%uCF58%uC194%uC5D0%uC11C%20%uBCF4%uAE30%0A%3E%20%uAF3C%uC218%uC778%uB370...%20%uC808%uB300%20%uC5C6%uC744%uAC83%20%uAC19%uC740%20sub%uBA85%uB839%uC5B4%uB97C%20%uC2E4%uD589%uD574%uBCF8%uB2E4.%0A%3E%20%uBAA8%uB974%uB294%20sub%uBA85%uB839%uC5B4%uC778%uB370%20%uC774%uAC70%20%uC368%uBCF4%uACA0%uB0D0%uBA70%20suggestion%uC774%20%uB098%uC628%uB2E4.%20--%3B%3B%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20commit%20--abcdefgh%0Aerror%3A%20unknown%20option%20%60abcdefgh%27%0Ausage%3A%20git%20commit%20%5B%3Coptions%3E%5D%20%5B--%5D%20%3Cpathspec%3E...%0A%0A%20%20%20%20-q%2C%20--quiet%20%20%20%20%20%20%20%20%20%20%20suppress%20summary%20after%20successful%20commit%0A%20%20%20%20-v%2C%20--verbose%20%20%20%20%20%20%20%20%20show%20diff%20in%20commit%20message%20template%0A%0ACommit%20message%20options%0A%20%20%20%20-F%2C%20--file%20%3Cfile%3E%20%20%20%20%20read%20message%20from%20file%0A%20%20%20%20--author%20%3Cauthor%3E%20%20%20%20%20override%20author%20for%20commit%0A...%0A%60%60%60%0A%0A%3Cbr/%3E%0A%0A%3E%20%uBE0C%uB79C%uCE58%20%uC2E4%uC2B5%0A%3E%20%uBE0C%uB79C%uCE58%uB97C%20%uB9CC%uB4E4%uACE0%20master%uC5D0%20%uBA38%uC9C0%uD558%uB294%20%uC2E4%uC2B5%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20branch%0A*%20master%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20branch%20feature/my-cool-func%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20branch%0A%20%20feature/my-cool-func%0A*%20master%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20checkout%20feature/my-cool-func%0ASwitched%20to%20branch%20%27feature/my-cool-func%27%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20branch%0A*%20feature/my-cool-func%0A%20%20master%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20dir%20%3E%20cool.txt%0APS%20C%3A%5Cproject%5Cmygittest%3E%20dir%20%3E%20cool2.txt%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20add%20*%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20commit%20-a%20-m%20%22cool%20func%22%0A%5Bfeature/my-cool-func%20983f398%5D%20cool%20func%0A%202%20files%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0A%20create%20mode%20100644%20cool.txt%0A%20create%20mode%20100644%20cool2.txt%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20push%0Afatal%3A%20The%20current%20branch%20feature/my-cool-func%20has%20no%20upstream%20branch.%0ATo%20push%20the%20current%20branch%20and%20set%20the%20remote%20as%20upstream%2C%20use%0A%0A%20%20%20%20git%20push%20--set-upstream%20origin%20feature/my-cool-func%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20push%20-u%0Afatal%3A%20The%20current%20branch%20feature/my-cool-func%20has%20no%20upstream%20branch.%0ATo%20push%20the%20current%20branch%20and%20set%20the%20remote%20as%20upstream%2C%20use%0A%0A%20%20%20%20git%20push%20--set-upstream%20origin%20feature/my-cool-func%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20push%20-u%20origin%20feature/my-cool-func%0ACounting%20objects%3A%204%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%284/4%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%284/4%29%2C%20743%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%204%20%28delta%202%29%2C%20reused%200%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gittest.git%0A%20*%20%5Bnew%20branch%5D%20%20%20%20%20%20feature/my-cool-func%20-%3E%20feature/my-cool-func%0ABranch%20feature/my-cool-func%20set%20up%20to%20track%20remote%20branch%20feature/my-cool-func%20from%20origin.%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20checkout%20master%0ASwitched%20to%20branch%20%27master%27%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20dir%20%3E%20current.txt%0APS%20C%3A%5Cproject%5Cmygittest%3E%20dir%20%3E%20current2.txt%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20add%20*%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20commit%20-a%20-m%20%22current%20change%22%0A%5Bmaster%20af8f24d%5D%20current%20change%0A%202%20files%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0A%20create%20mode%20100644%20current.txt%0A%20create%20mode%20100644%20current2.txt%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20push%0ACounting%20objects%3A%204%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%284/4%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%284/4%29%2C%20765%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%204%20%28delta%202%29%2C%20reused%200%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gittest.git%0A%20%20%20035ce62..af8f24d%20%20master%20-%3E%20master%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20merge%20feature/my-cool-func%0AMerge%20made%20by%20the%20%27recursive%27%20strategy.%0A%20cool.txt%20%20%7C%20Bin%200%20-%3E%204470%20bytes%0A%20cool2.txt%20%7C%20Bin%200%20-%3E%204762%20bytes%0A%202%20files%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0A%20create%20mode%20100644%20cool.txt%0A%20create%20mode%20100644%20cool2.txt%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20log%20--graph%0A*%20%20%20commit%2092be49b3789a691546180f0b9822951b46084830%0A%7C%5C%20%20Merge%3A%20af8f24d%20983f398%0A%7C%20%7C%20Author%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0A%7C%20%7C%20Date%3A%20%20%20Wed%20Jan%2027%2023%3A04%3A27%202016%20+0900%0A%7C%20%7C%0A%7C%20%7C%20%20%20%20%20Merge%20branch%20%27feature/my-cool-func%27%0A%7C%20%7C%0A%7C%20*%20commit%20983f398f54394f750475bd92ed61f36a552175b5%0A%7C%20%7C%20Author%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0A%7C%20%7C%20Date%3A%20%20%20Wed%20Jan%2027%2023%3A01%3A24%202016%20+0900%0A%7C%20%7C%0A%7C%20%7C%20%20%20%20%20cool%20func%0A%7C%20%7C%0A*%20%7C%20commit%20af8f24dd06cf1582a770fea7254719dc52506e78%0A%7C/%20%20Author%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0A%7C%20%20%20Date%3A%20%20%20Wed%20Jan%2027%2023%3A03%3A38%202016%20+0900%0A%7C%0A%7C%20%20%20%20%20%20%20current%20change%0A%7C%0A*%20%20%20commit%20035ce62b030f87e8ce3360bebe5477048200766c%0A%7C%5C%20%20Merge%3A%20159900b%2054ace0a%0A%7C%20%7C%20Author%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0A%7C%20%7C%20Date%3A%20%20%20Wed%20Jan%2027%2022%3A40%3A31%202016%20+0900%0A%7C%20%7C%0A%7C%20%7C%20%20%20%20%20Merge%20branch%20%27feature/abc%27%0A%7C%20%7C%0A%7C%20*%20commit%2054ace0a7b19f04aebc5726255cdd642b4f970982%0A%7C%20%7C%20Author%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0A%7C%20%7C%20Date%3A%20%20%20Wed%20Jan%2027%2022%3A38%3A37%202016%20+0900%0A%7C%20%7C%0A%7C%20%7C%20%20%20%20%20abc%20*%0A%7C%20%7C%0A*%20%7C%20commit%20159900b9d9908b0c5e410a75e67fa574821086ce%0A%7C/%20%20Author%3A%20Hyundong%20Hwang%20%3Chhd2002@gmail.com%3E%0A%7C%20%20%20Date%3A%20%20%20Wed%20Jan%2027%2022%3A39%3A40%202016%20+0900%0A%7C%0A%7C%20%20%20%20%20%20%20master%20dir%0A%7C%0A%0A%0A%0APS%20C%3A%5Cproject%5Cmygittest%3E%20git%20push%0ACounting%20objects%3A%202%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%282/2%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%282/2%29%2C%20345%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%202%20%28delta%201%29%2C%20reused%200%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gittest.git%0A%20%20%20af8f24d..92be49b%20%20master%20-%3E%20master%0A%0A%0A%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20submodule%20%uCD94%uAC00%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20submodule%20init%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20submodule%20add%20--force%20git@github.com%3AHyundongHwang/gitsubmodule.git%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20cd%20.%5Cgitsubmodule%5C%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20pull%0AAlready%20up-to-date.%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20remote%20-v%0Aorigin%20%20https%3A//github.com/HyundongHwang/gitsubmodule%20%28fetch%29%0Aorigin%20%20https%3A//github.com/HyundongHwang/gitsubmodule%20%28push%29%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20cd%20..%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0Awarning%3A%20LF%20will%20be%20replaced%20by%20CRLF%20in%20.gitmodules.%0AThe%20file%20will%20have%20its%20original%20line%20endings%20in%20your%20working%20directory.%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20.gitmodules%0A%20%20%20%20%20%20%20%20new%20file%3A%20%20%20gitsubmodule%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20commit%20-a%20-m%20%22add%20submodule%20gitsubmodule%22%0A%5Bmaster%20warning%3A%20LF%20will%20be%20replaced%20by%20CRLF%20in%20.gitmodules.%0AThe%20file%20will%20have%20its%20original%20line%20endings%20in%20your%20working%20directory.%0A0f839b0%5D%20add%20submodule%20gitsubmodule%0Awarning%3A%20LF%20will%20be%20replaced%20by%20CRLF%20in%20.gitmodules.%0AThe%20file%20will%20have%20its%20original%20line%20endings%20in%20your%20working%20directory.%0A%202%20files%20changed%2C%204%20insertions%28+%29%0A%20create%20mode%20160000%20gitsubmodule%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20push%0ACounting%20objects%3A%203%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%283/3%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%283/3%29%2C%20391%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%203%20%28delta%201%29%2C%20reused%201%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gittest.git%0A%20%20%207d08691..0f839b0%20%20master%20-%3E%20master%0A%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20submodule%20%uB0B4%uBD80%uC5D0%uC11C%20%uC218%uC815%uD6C4%20%uC5C5%uB370%uC774%uD2B8%0A%60%60%60bash%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20dir%20%3E%20dir.txt%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20not%20staged%20for%20commit%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20update%20what%20will%20be%20committed%29%0A%20%20%28use%20%22git%20checkout%20--%20%3Cfile%3E...%22%20to%20discard%20changes%20in%20working%20directory%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20dir.txt%0A%0Ano%20changes%20added%20to%20commit%20%28use%20%22git%20add%22%20and/or%20%22git%20commit%20-a%22%29%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20commit%20-a%20-m%20%22modify%20dir.txt%22%0A%5Bmaster%205e79c29%5D%20modify%20dir.txt%0A%201%20file%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20push%0ACounting%20objects%3A%203%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%283/3%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%283/3%29%2C%20311%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%203%20%28delta%202%29%2C%20reused%200%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gitsubmodule.git%0A%20%20%207be4d74..5e79c29%20%20master%20-%3E%20master%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20cd%20..%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20not%20staged%20for%20commit%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20update%20what%20will%20be%20committed%29%0A%20%20%28use%20%22git%20checkout%20--%20%3Cfile%3E...%22%20to%20discard%20changes%20in%20working%20directory%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20gitsubmodule%20%28new%20commits%29%0A%0Ano%20changes%20added%20to%20commit%20%28use%20%22git%20add%22%20and/or%20%22git%20commit%20-a%22%29%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20submodule%20update%0ASubmodule%20path%20%27gitsubmodule%27%3A%20checked%20out%20%27f57ae8c95b582dca790ef821e86ebd11e0f1ce51%27%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20submodule%20%uC678%uBD80%uC5D0%uC11C%20%uC218%uC815%uD6C4%20%uC5C5%uB370%uC774%uD2B8%0A%60%60%60%0APS%20C%3A%5Cproject%5Cgitsubmodule%3E%20git%20diff%0Adiff%20--git%20a/dir.txt%20b/dir.txt%0Aindex%2003a80a8..1181f77%20100644%0ABinary%20files%20a/dir.txt%20and%20b/dir.txt%20differ%0A%0APS%20C%3A%5Cproject%5Cgitsubmodule%3E%20git%20commit%20-a%20-m%20%22modify%20dir.txt%22%0A%5Bmaster%20add3b58%5D%20modify%20dir.txt%0A%201%20file%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0APS%20C%3A%5Cproject%5Cgitsubmodule%3E%20git%20push%0ACounting%20objects%3A%203%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%283/3%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%283/3%29%2C%20348%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%203%20%28delta%202%29%2C%20reused%200%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gitsubmodule.git%0A%20%20%205e79c29..add3b58%20%20master%20-%3E%20master%0A%0APS%20C%3A%5Cproject%5Cgitsubmodule%3E%20cd%20..%0A%0APS%20C%3A%5Cproject%3E%20git%20.%5Cgittest%5C%0Agit%3A%20%27.%5Cgittest%5C%27%20is%20not%20a%20git%20command.%20See%20%27git%20--help%27.%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20cd%20.%5Cgitsubmodule%5C%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20status%0AHEAD%20detached%20at%20f57ae8c%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20checkout%20master%0APrevious%20HEAD%20position%20was%20f57ae8c...%20dir2.txt%20add%0ASwitched%20to%20branch%20%27master%27%0AYour%20branch%20is%20behind%20%27origin/master%27%20by%201%20commit%2C%20and%20can%20be%20fast-forwarded.%0A%20%20%28use%20%22git%20pull%22%20to%20update%20your%20local%20branch%29%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20behind%20%27origin/master%27%20by%201%20commit%2C%20and%20can%20be%20fast-forwarded.%0A%20%20%28use%20%22git%20pull%22%20to%20update%20your%20local%20branch%29%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20pull%0AUpdating%205e79c29..add3b58%0AFast-forward%0A%20dir.txt%20%7C%20Bin%202290%20-%3E%202032%20bytes%0A%201%20file%20changed%2C%200%20insertions%28+%29%2C%200%20deletions%28-%29%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%0APS%20C%3A%5Cproject%5Cgittest%5Cgitsubmodule%3E%20cd%20..%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20not%20staged%20for%20commit%3A%0A%20%20%28use%20%22git%20add%20%3Cfile%3E...%22%20to%20update%20what%20will%20be%20committed%29%0A%20%20%28use%20%22git%20checkout%20--%20%3Cfile%3E...%22%20to%20discard%20changes%20in%20working%20directory%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20gitsubmodule%20%28new%20commits%29%0A%0Ano%20changes%20added%20to%20commit%20%28use%20%22git%20add%22%20and/or%20%22git%20commit%20-a%22%29%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20submodule%20update%0ASubmodule%20path%20%27gitsubmodule%27%3A%20checked%20out%20%27f57ae8c95b582dca790ef821e86ebd11e0f1ce51%27%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0APS%20C%3A%5Cproject%5Cgittest%3E%0A%60%60%60%0A%0A%3Cbr/%3E%0A%3E%20submodule%20%uC81C%uAC70%0A%60%60%60%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20rm%20.%5Cgitsubmodule%5C%0Arm%20%27gitsubmodule%27%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0AChanges%20to%20be%20committed%3A%0A%20%20%28use%20%22git%20reset%20HEAD%20%3Cfile%3E...%22%20to%20unstage%29%0A%0A%20%20%20%20%20%20%20%20modified%3A%20%20%20.gitmodules%0A%20%20%20%20%20%20%20%20deleted%3A%20%20%20%20gitsubmodule%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20commit%20-a%20-m%20%22remove%20gitsubmodule%22%0A%5Bmaster%200da6537%5D%20remove%20gitsubmodule%0A%202%20files%20changed%2C%204%20deletions%28-%29%0A%20delete%20mode%20160000%20gitsubmodule%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20push%0ACounting%20objects%3A%203%2C%20done.%0ADelta%20compression%20using%20up%20to%204%20threads.%0ACompressing%20objects%3A%20100%25%20%282/2%29%2C%20done.%0AWriting%20objects%3A%20100%25%20%283/3%29%2C%20286%20bytes%20%7C%200%20bytes/s%2C%20done.%0ATotal%203%20%28delta%201%29%2C%20reused%200%20%28delta%200%29%0ATo%20git@github.com%3AHyundongHwang/gittest.git%0A%20%20%200f839b0..0da6537%20%20master%20-%3E%20master%0A%0APS%20C%3A%5Cproject%5Cgittest%3E%20git%20status%0AOn%20branch%20master%0AYour%20branch%20is%20up-to-date%20with%20%27origin/master%27.%0Anothing%20to%20commit%2C%20working%20directory%20clean%0A%60%60%60

이 글은 Evernote에서 작성되었습니다. Evernote는 하나의 업무 공간입니다. Evernote를 다운로드하세요.

댓글