$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git Workshop 01
Search
Lihsuan Chen
September 22, 2016
Programming
0
180
Git Workshop 01
Lihsuan Chen
September 22, 2016
Tweet
Share
More Decks by Lihsuan Chen
See All by Lihsuan Chen
iPlayground 2025 - 接⼿ 10年⼤雜燴:專案現代化與產品開發的挑戰
vc7
0
130
The UX thinking of PAY ID
vc7
2
480
From Onboarding to Value Delivering in iOS
vc7
0
290
Merciless Refactoring
vc7
0
790
Protocol 的實例、測試和心得
vc7
2
820
共有経済
vc7
0
190
.gitignore
vc7
1
110
Git Workshop 03
vc7
0
140
Git Workshop 02
vc7
0
130
Other Decks in Programming
See All in Programming
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
390
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
350
これならできる!個人開発のすゝめ
tinykitten
PRO
0
110
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
2.7k
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
490
TestingOsaka6_Ozono
o3
0
160
Cap'n Webについて
yusukebe
0
140
Developing static sites with Ruby
okuramasafumi
0
300
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
3.7k
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
190
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
38
26k
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
7.3k
Featured
See All Featured
Music & Morning Musume
bryan
46
7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Code Reviewing Like a Champion
maltzj
527
40k
Side Projects
sachag
455
43k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
970
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
GitHub's CSS Performance
jonrohan
1032
470k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Transcript
(JU8PSLTIPQ 痧♧㔐 ⴽ䙲溫涸䖎矦㋲ ꤫愴蠩
㣐笧 ˖ 晝劥䱾ⵖ捀➊랃 ˖ 晝劥䱾ⵖ禺窡涸䊴ⴽ ˖ (JU ˖ 䒊用SFQPㄤ鹎遤DPNNJU ˖
(JU涸㛇劥崩玑
䧮涸匢䱾竤娜 㷸欰 儘劍 〵⚥ 厥䱺呪Ⱇ 倞ⶾ" 倞ⶾ# 僱宐㛔 /PX 搂
47/ 5'7$ (JU 㷸绢(JU (JU 㼬Ⰵ(JU 㼬Ⰵ崩玑 ⾲47/ 㼬Ⰵ(JU 㼬Ⰵ崩玑 (JU
晝劥䱾ⵖ捀➊랃 WFSTJPODPOUSPM h⾩ⴗآؑ؎اٝ
㣐㹻䥰鑪鿪鸏垺⨞麕ゅ
齡⦐˘ ⡹剤⨞晝劥䱾盘 鼩僽⪔⟨玑䒭焺㌨ 剤ザ剤ザ
None
None
䙲䪾匌銯佖㡏䱈 䟝銴鎹ꏗ荈䊹⨞➊랃 䙦랃騈ⴽ➃♧饱ざ⡲ 䙲ꨶ舡㡏䱈䟝銴⪔⟨ ⵌⰦ➮ꨶ舡䟝銴糒糵⨞㼠呪
晝劥䱾ⵖ禺窡 7FSTJPO$POUSPM4ZTUFN
꧌⚥䒭 ⴕ侕䒭 晝劥䱾ⵖ嚌ⴕ
h(JU5PXFS
꧌⚥䒭 ⴕ侕䒭 晝劥䱾ⵖ嚌ⴕ 4VCWFSTJPO 47/ 5FBN'PVOEBUJPO7FSTJPO$POUSPM (JU
꧌⚥䒭 ⴕ侕䒭 晝劥䱾ⵖ盘椚剪 #JU#VDLFU 740OMJOF (JU)VC #JU#VDLFU (JU-BC 740OMJOF 5'4
5'4
㨥㓫
㖈㨥⛓ (6* $PNNBOE
♶銴湬䱺 溏䊨Ⱘ剅
溫涸銴㨥✫
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
䒊用⮭㶸䏨 ˖ 3FQPTJUPSZ矦珖SFQP⚥俒〳珖⦍⮭䧴⮭㶸䏨 ˖ 劥㖒畮㶸佞䨾剤騈HJU剤ꡠ⤚涸匌銯涸㖒倰 ˖ 㖈ㆭ鼹 ˖ .git须俲㣰 $
git init 鑑衽荈䊹䪪䪪溏鸏⦐须俲㖈ㆭ鼹
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
(JU涸♲⦐ꥣ媯 $ touch a.txt 8PSLJOH%JSFDUPSZ 䊨⡲湡ꏗ 4UBHF *OEFY 程䒸⼦
-PDBM3FQPTJUPSZ 劥㖒⮭㶸䏨 劢鄄鷆髠涸墂呪 佞㖈TUBHF涸墂呪 䩞〳⟃鄄⸈Ⰵ晝劥䱾ⵖ 鄄晝劥䱾ⵖ涸墂呪
(JU涸♲⦐ꥣ媯 $ touch a.txt 8PSLJOH%JSFDUPSZ 䊨⡲湡ꏗ 4UBHF *OEFY 程䒸⼦
-PDBM3FQPTJUPSZ 劥㖒⮭㶸䏨
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
(JU涸♲⦐ꥣ媯 8PSLJOH%JSFDUPSZ 䊨⡲湡ꏗ 4UBHF *OEFY 程䒸⼦ -PDBM3FQPTJUPSZ 劥㖒⮭㶸䏨 $
touch a.txt $ git add a.txt
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
䒊用⮭㶸䏨 ˖ commit䪾湡TUBHF涸墂呪隶刿⸈Ⰵ晝劥䱾ⵖ ˖ -mDPNNJU鎝䜂涸BH䖕䱺♳鸏♧妄私ꏗ 涸鎝䜂 $ git commit -m
“Add a.txt” 鑑衽䪪䪪溏剤➊랃Ⱖ➮倰䒭〳⟃㻨DPNNJU鎝䜂
(JU涸♲⦐ꥣ媯 8PSLJOH%JSFDUPSZ 䊨⡲湡ꏗ 4UBHF *OEFY 程䒸⼦ -PDBM3FQPTJUPSZ 劥㖒⮭㶸䏨 $
touch a.txt $ git add a.txt $ git commit -m “Add a.txt”
(JU涸♲⦐ꥣ媯 8PSLJOH%JSFDUPSZ 䊨⡲湡ꏗ 4UBHF *OEFY 程䒸⼦ -PDBM3FQPTJUPSZ 劥㖒⮭㶸䏨 $
touch a.txt $ git add a.txt $ git commit -m “Add a.txt”
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt
$ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init ⴲ㨥⻋HJU⮭㶸䏨 $ touch
a.txt 㖈䊨⡲湡ꏗ倞㟞BUYU $ git add a.txt 䪾BUYU⸈ⰅTUBHF $ git commit -m “add a.txt” 䪾隶刿⸈Ⰵ晝劥䱾ⵖ ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
劥媯㼭穡 ˖ 钢陏(JU㖈劥㖒畮涸♲⦐ꥣ媯 ˖ 濼麥㥶⡦鷴麕(JU䭸⟂⨞ⵌ倞㟞隶刿⿻私ꏗ ˖ 濼麥㥶⡦⢪欽4PVSDF5SFF錚溏(JU涸私ꏗ
籏穡 ˖ 捀➊랃銴⢪欽晝劥䱾ⵖ涸⾲㔔 ˖ ꧌⚥䒭ㄤⴕ侕䒭晝劥䱾ⵖ涸䊴ⴽ ˖ 湡剤ㆭ❉晝劥䱾ⵖ盘椚涸剪 ˖ (JU劥㖒⮭㶸䏨涸♲⦐ꥣ媯 ˖
㥶⡦⨞ⵌ矦㋲涸倞㟞⮭㶸䏨隶刿⿻私ꏗ
穡勲䖕⡹〳⟃⨞➊랃 ˖ 䟝䟝溏荈䊹涸䊨⡲竤뀿⚥ㆭ❉㔮ꨈ姻㥪〳⟃欽 晝劥䱾ⵖ鍑对 ˖ 㢵箻绢䎙妄鸏♧妄涸崞⹛Ⰹ㺂箻绢涸ず儘⚛ず 儘䪾殹♴㛂遤涸⹛⡲涸わ纏䙂ⴀ⢵⸈幀⽫韍 ˖ 溏溏剤➊랃♶♧垺涸䭸⟂〳⟃欽欽溏 ˖
〫銴剤㉏겗♶銴ぴ㌞㉏㖈㜥涸Ⱖ➮➃
2"儘
5IBOL:PV