際際滷

際際滷Share a Scribd company logo
2014 12 29
蟆渚蟲 貉危郁概螻

Git / GitHub
Mobile Convergence Laboratory
覈谿
 Git / GitHub 螳
 Git れ 覦 れ
 Git 覯
 add commit
 GitHub(蟆レ) 郁屋
1 /Mobile Convergence Laboratory
Git企?
 襦(れ, 襴 )襯 蟯襴蠍 
覿 覯 蟯襴 ろ(DVCS)
 ろ語 蠏狩蟇磯 譴 覯 譟危讌 
   レ
 襴讀 覦讀螳 襴 貉る 螳覦 伎り
豕豐 螳覦 覦 
Mobile Convergence Laboratory
Mobile Convergence Laboratory
覯 蟯襴 レ
Mobile Convergence Laboratory
覓語 or れ 煙  伎 蠍磯
Test 2014.file
Test 2014.file
襦 るジ 覯
 襷 るジ 企 朱 ロる?
5 /Mobile Convergence Laboratory
source ver 1.0 source ver 1.1 source ver 1.3 source ver ?.?
   覈企朱?
覓伎 覯 蟯襴 
6 /Mobile Convergence Laboratory
Mobile Convergence Laboratory
覯 蟯襴 ろ
覯 蟯襴襯  語
企リ襴襯
 レ
Git企?
 襦(れ, 襴 )襯 蟯襴蠍 
覿 覯 蟯襴 ろ(DVCS)
 ろ語 蠏狩蟇磯 譴 覯 譟危讌 
   レ
 襴讀 覦讀螳 襴 貉る 螳覦 伎り
豕豐 螳覦 覦 
Mobile Convergence Laboratory
覯 蟯襴 ろ? OK
蠏碁 覿一?
Git企?
 襦(れ, 襴 )襯 蟯襴蠍 
覿 覯 蟯襴 ろ(DVCS)
 ろ語 蠏狩蟇磯 譴 覯 譟危讌 
   レ
 襴讀 覦讀螳 襴 貉る 螳覦 伎り
豕豐 螳覦 覦 
Mobile Convergence Laboratory
覯 蟯襴 ろ? OK
蠏碁 覿一?
Mobile Convergence Laboratory
覿 覯 蟯襴 ろ
譴 讌譴 覯 蟯襴 ろ 覿 覯 蟯襴 ろ
襦貉 レ襯 螳讌覃 企ゼ 螳讌螻  螳
Mobile Convergence Laboratory
覿 覯 蟯襴 ろ
譴 讌譴 覯 蟯襴 ろ 覿 覯 蟯襴 ろ
襦貉 レ襯 螳讌覃 企ゼ 螳讌螻  螳
Mobile Convergence Laboratory
Git?
覿 覯 蟯襴 ろ!!
Ok!!
13 /
Github 覘讌?
GitHub
 git 語ろ伎朱 轟觜
 Git レ 覯襯  讌 覦 蟯襴伎朱 觜
 ろ 襦 = 覓企 / private 襦 = 襭
14 /Mobile Convergence Laboratory
Mobile Convergence Laboratory
Git 蟆 レ襯 螻
Github 
 觜 :
bitbucket
Git れ 覦 れ
16 /Mobile Convergence Laboratory
Mobile Convergence Laboratory
Windows れ
Windows 磯碁 襦蠏碁
18 /Mobile Convergence Laboratory
Mobile Convergence Laboratory
Linux れ
1. sudo apt-get install git-core git-doc
2. git --version
3. れ 襭
Git 
1. レ 
2.  覲 
3. 覲蟆 
4. 襦  
20 /Mobile Convergence Laboratory
Mobile Convergence Laboratory
レ 燕蠍(覈轟 : git init)
1. mkdir git-test
2. cd git-test
3. git init
Mobile Convergence Laboratory
レ 覦り鍵(覈轟 : git clone)
1. 襦貉 レ 覦り鍵
git clone /襦貉/レ/蟆暑
2. 蟆 レ 覦り鍵
git clone 覈@語ろ:/蟆/レ/蟆暑
git clone レ 譯殊(ex: git clone git://github.com/sangyunHan/kairos-xxx)
貉る誤 焔
 Git    覲企ゼ git 焔.
 螻給    螳螳 覯 蟲 語 蟲覲伎朱

 git config --global user.name 覈
 git config --global user.email  企種
23 /Mobile Convergence Laboratory
 襴
Mobile Convergence Laboratory
 螻糾
(working dir)
襦貉 
レ
(head)
蟆 レ
碁煙
(staging area)
Git GitHub
add commit push
碁煙れ 譴!
Mobile Convergence Laboratory
螻糾
add commit
git status
git add
git commit
Mobile Convergence Laboratory 26 /
覲願鍵(覈轟 : git status)
27 /Mobile Convergence Laboratory
 豢螳
28 /Mobile Convergence Laboratory
 豢螳  
29 /Mobile Convergence Laboratory
 豢螳  
30 /Mobile Convergence Laboratory
碁煙(staging area) 焔
讌  覯蟯襴螳 螻 
讌  朱
add : 碁煙れ(staging area) 焔
 git add 朱(ex: git add file.c)
31 /Mobile Convergence Laboratory
 襴
Mobile Convergence Laboratory
 螻糾
(working dir)
襦貉 
レ
(head)
蟆 レ
碁煙
(staging area)
Git GitHub
add commit push
file.c
commit : レ 焔
 git commit m 企 commit  る鐚
33 /Mobile Convergence Laboratory
commit : レ 焔
 git commit m 企 commit  る鐚
34 /Mobile Convergence Laboratory
貉る  覃讌
 襴
Mobile Convergence Laboratory
 螻糾
(working dir)
襦貉 
レ
(head)
蟆 レ
碁煙
(staging area)
Git GitHub
add commit push
file.c
 
36 /Mobile Convergence Laboratory
貊 豢螳
add , status 
37 /Mobile Convergence Laboratory
 企 (覈轟 : git log)
38 /Mobile Convergence Laboratory
 企 (覈轟 : git log)
39 /Mobile Convergence Laboratory
貉る 襴觜
螳螳 貉る  螻 ID
SHA-1 伎螳朱 蟲
 企 (覈轟 : git log)
40 /Mobile Convergence Laboratory
貉る 煙 覲
 企 (覈轟 : git log)
41 /Mobile Convergence Laboratory
貉る 讌 螳
 企 (覈轟 : git log)
42 /Mobile Convergence Laboratory
貉る  覃讌
覲蟆 豬(伎 commit 伎 螳語り鍵)
43 /Mobile Convergence Laboratory
 襴
Mobile Convergence Laboratory
 螻糾
(working dir)
襦貉 
レ
(head)
碁煙
(staging area)
Git
add commit
file.c
printf(change 1);
file.c
printf(change 1);
printf(change 2);
printf(change 3);
printf(change 4);
checkout
覲蟆 豬(覈轟 : git checkout 朱)
45 /Mobile Convergence Laboratory
checkout 蟆郁骸
GitHub[蟆 レ] 郁屋
1. 螻 
2. SSH Key 語
3. Repository 
Mobile Convergence Laboratory 46 /
GitHub 螻 
47 /Mobile Convergence Laboratory
SSH key 覦蠍
 ssh-keygen t rsa C E-mail
48 /Mobile Convergence Laboratory
り ル 螻
SSH key 覦蠍
 Key螳 ル 蟆暑 り 覲旧
49 /Mobile Convergence Laboratory
SSH keys 焔
50 /Mobile Convergence Laboratory
SSH keys 焔
51 /Mobile Convergence Laboratory
り 覿j鍵
git_test
SSH keys 焔 襭
52 /Mobile Convergence Laboratory
GitHub repository 
53 /Mobile Convergence Laboratory
GitHub repository 
54 /Mobile Convergence Laboratory
GitHub repository 
55 /Mobile Convergence Laboratory
企 repository
企螻 螳 る
襦語 殊伎 
56 /Mobile Convergence Laboratory
GitHub repository  襭
57 /Mobile Convergence Laboratory
Q&A
58 /

More Related Content

Git & Github Seminar-1