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
160
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
430
From Onboarding to Value Delivering in iOS
vc7
0
250
Merciless Refactoring
vc7
0
720
Protocol 的實例、測試和心得
vc7
2
770
共有経済
vc7
0
160
.gitignore
vc7
1
82
Git Workshop 03
vc7
0
110
Git Workshop 02
vc7
0
100
Escaping Closures in Swift - 公司內分享會
vc7
1
220
Other Decks in Programming
See All in Programming
CloudNativePGがCNCF Sandboxプロジェクトになったぞ! 〜CloudNativePGの仕組みの紹介〜
nnaka2992
0
220
ARA Ansible for the teams
kksat
0
150
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
870
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
200
昭和の職場からアジャイルの世界へ
kumagoro95
1
360
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
140
Lottieアニメーションをカスタマイズしてみた
tahia910
0
120
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
sappoRo.R #12 初心者セッション
kosugitti
0
240
Introduction to kotlinx.rpc
arawn
0
670
Amazon ECS とマイクロサービスから考えるシステム構成
hiyanger
2
520
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
120
Featured
See All Featured
Building an army of robots
kneath
302
45k
A better future with KSS
kneath
238
17k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
320
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Thoughts on Productivity
jonyablonski
69
4.5k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
GitHub's CSS Performance
jonrohan
1030
460k
YesSQL, Process and Tooling at Scale
rocio
171
14k
Become a Pro
speakerdeck
PRO
26
5.1k
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