Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git Workshop 01
Search
Lihsuan Chen
September 22, 2016
Programming
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git Workshop 01
Lihsuan Chen
September 22, 2016
More Decks by Lihsuan Chen
See All by Lihsuan Chen
iPlayground 2025 - 接⼿ 10年⼤雜燴:專案現代化與產品開發的挑戰
vc7
0
180
The UX thinking of PAY ID
vc7
2
500
From Onboarding to Value Delivering in iOS
vc7
0
310
Merciless Refactoring
vc7
0
830
Protocol 的實例、測試和心得
vc7
2
840
共有経済
vc7
0
210
.gitignore
vc7
1
130
Git Workshop 03
vc7
0
160
Git Workshop 02
vc7
0
140
Other Decks in Programming
See All in Programming
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
160
OSもどきOS
arkw
0
570
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
530
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
240
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
Contextとはなにか
chiroruxx
1
330
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
140
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
180
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
350
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
230
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
200
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
390
Writing Fast Ruby
sferik
630
63k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
410
So, you think you're a good person
axbom
PRO
2
2.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
610
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Agile that works and the tools we love
rasmusluckow
331
21k
The browser strikes back
jonoalderson
0
1.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
420
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