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
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
110
The UX thinking of PAY ID
vc7
2
470
From Onboarding to Value Delivering in iOS
vc7
0
290
Merciless Refactoring
vc7
0
770
Protocol 的實例、測試和心得
vc7
2
810
共有経済
vc7
0
180
.gitignore
vc7
1
100
Git Workshop 03
vc7
0
130
Git Workshop 02
vc7
0
130
Other Decks in Programming
See All in Programming
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
140
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
110
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
790
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
890
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
3.4k
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
0
1.2k
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
220
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
190
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.6k
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
160
dynamic!
moro
10
7.8k
開発生産性を上げるための生成AI活用術
starfish719
3
850
Featured
See All Featured
Code Review Best Practice
trishagee
72
19k
Agile that works and the tools we love
rasmusluckow
331
21k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
RailsConf 2023
tenderlove
30
1.2k
A designer walks into a library…
pauljervisheath
209
24k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Mobile First: as difficult as doing things right
swwweet
224
10k
The Illustrated Children's Guide to Kubernetes
chrisshort
49
51k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
980
Java REST API Framework Comparison - PWX 2021
mraible
33
8.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
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