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
Li-Hsuan Chen
September 22, 2016
Programming
0
140
Git Workshop 01
Li-Hsuan Chen
September 22, 2016
Tweet
Share
More Decks by Li-Hsuan Chen
See All by Li-Hsuan Chen
The UX thinking of PAY ID
vc7
2
390
From Onboarding to Value Delivering in iOS
vc7
0
220
Merciless Refactoring
vc7
0
610
Protocol 的實例、測試和心得
vc7
2
700
共有経済
vc7
0
120
.gitignore
vc7
1
65
Git Workshop 03
vc7
0
90
Git Workshop 02
vc7
0
80
Escaping Closures in Swift - 公司內分享會
vc7
1
200
Other Decks in Programming
See All in Programming
ペパボOpenTelemetry革命
pyama86
2
170
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
480
Direct Style Effect Systems The Print[A] ExampleA Comprehension Aid
philipschwarz
PRO
0
300
WebGLで始める コンピュータグラフィックス入門
heller77
0
350
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
550
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
290
slow types ってなんだろう?
karad
0
170
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
350
Ruby Function Composition
bkuhlmann
1
340
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
530
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
2
210
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
14
8.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
Why Our Code Smells
bkeepers
PRO
331
56k
How GitHub (no longer) Works
holman
305
140k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Debugging Ruby Performance
tmm1
70
11k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
0
45
From Idea to $5000 a Month in 5 Months
shpigford
378
45k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
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