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
Try Git ハンズオン
Search
Matsuo (TAM)
March 02, 2016
Technology
0
220
Try Git ハンズオン
Matsuo (TAM)
March 02, 2016
Tweet
Share
More Decks by Matsuo (TAM)
See All by Matsuo (TAM)
Yeoman で gulp の環境を さらっと作る
tammatsuo
1
880
Other Decks in Technology
See All in Technology
OCI Security サービス 概要
oracle4engineer
PRO
0
6.6k
セキュリティ運用って包括的にできていますか?SaaSを使って次のステップへ / Comprehensive Cyber Security Operations for Cloud Services Using SaaS
sakaitakeshi
0
220
AWS re:Invent 2024 予選落ちのBedrockアプデをまとめて解説!
minorun365
PRO
1
100
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
330
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
290
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
2.2k
Chasing the White Whale of Open Source - ROI
mrbobbytables
0
150
Yahoo! JAPANトップページにおけるマイクロフロントエンド - 大規模組織におけるFE開発を加速させるには
lycorptech_jp
PRO
0
1.3k
もし大規模障害が、10分で解決できたら?
masaaki_k
0
110
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
1
170
偶有的複雑性と戦うためのアーキテクチャとチームトポロジー
knih
7
3.9k
クラウドインフラ構築における.NETとその他IaCの比較
ymd65536
1
110
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Optimizing for Happiness
mojombo
376
70k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Thoughts on Productivity
jonyablonski
67
4.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Writing Fast Ruby
sferik
627
61k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Being A Developer After 40
akosma
87
590k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Transcript
KFUG ϋϯζΦϯ GitΛ࢝ΊͯΈΑ͏ʂ (Git + SourceTree ϋϯζΦϯ) 1 sponsored by
2 ✱ ࠓ͔Βͪΐͬͱ͠ΌΔͷͰɺ ͦͷؒʹҎԼΛࢀߟʹ ✱ http://tinyurl.com/git160305 ✱ SourceTree ͷΠϯετʔϧΛɺ ·ͩͷํ͓͍͍ͬͯͯͩ͘͞
͡Ίʹ
TAM + tambourine inc. ʹΑΔ εϙϯαʔυɾϋϯζΦϯͰ͢ 3
4 ✱ גࣜձࣾTAM, גࣜձࣾλϯόϦϯ ✱ ύʔτφʔܕσδλϧϓϩμΫγϣϯ ✱ डୗͷWeb੍࡞͕ओͳ͓ࣄɺ େख͔Βͷ͚Ҋ͕݅΄ͱΜͲ ✱
େࡕ / ౦ژ / γϯΨϙʔϧ Ͱ120ਓ ✱ Git / Gulp / Angular / PHP / Laravel / Slack / Heroku / AWS / monaca etc. ձࣾհ
5 TAM Coworking ✱ ؔϑϩϯτΤϯυUG ษڧձ, ͘͘ձ ຖ݄ͬͯ·͢ (࣍ճ3/21ॕ) ✱
http://www.tam-tam.co.jp/coworking/
6 ✱ ϑϩϯτΤϯυɾόοΫΤϯυΤϯδχΞ ืूதʂ (JavaScript / PHP ͳͲ) ✱ σβΠφʔग़ˠϑϩϯτɾόοΫΤϯυ
྆ํ͍ͬͯΔਓͱ͔ɺόοΫΤϯυˠ σΟϨΫλʔసͱ͔ɻ৭ʑܦݧͰ͖·͢ ✱ ϧʔϧͷগͳ͍ɺۃʹࣗ༝ͳձࣾͰ͢ ✱ “Wantedly TAM” Ͱݕࡧ͔ɺελοϑ·Ͱ ٻਓืू
7 એ͓ΘΓ Git + SourceTree ϋϯζΦϯ ͡Ί·͢
8 ✱ લड़ͷϖʔδݟΒΕ͍ͯ·͔͢ʁ http://tinyurl.com/git160305 ✱ SourceTree ͷΠϯετʔϧ OK? Mac ver.
2.1 / Windows ver. 1.6 ର ४උOK?
9 ✱ όʔδϣϯཧπʔϧͷ໊લ ✱ ཤྺɾϩάΛ࣮֬ʹ͢ ✱ ୭͕ɺͲ͜Λɺ͍ͭɺͲ͏มߋ͔͕ͨ͠ ͔Δ (ߦ୯ҐͰʂ) ✱
ઌฦΓͳͲ͕ى͖ʹ͘͘ɺ҆৺ & ޮత Gitͬͯ??
10 ✱ Git ΛϚεͰૢ࡞Ͱ͖Δ GUI ✱ ϩάࠩΛɺࢹ֮తʹ؆୯ʹ֬ೝͰ͖Δ ✱ Mac Ͱ
Windows Ͱ͑Δ & ແྉ SourceTreeͬͯ??
11 GitϦϙδτϦͷ࡞ ϦϙδτϦͱGit ͷ σʔλΛೖΕΔݿͷ͜ͱɻ ʮϑΝΠϧʯˠʮ৽ن࡞ʯ อଘઌϑΥϧμΛࢦఆ
12 αϯϓϧίʔυΛindex.html ͱͯ͠อଘ
13 ίϛοτ (ݱࡏͷঢ়ଶΛه)
14 ✱ index.html ͷޡࣈΛ֤ࣗฤू͍ͯͩ͘͠͞ ✱ ίϛοτ(ฤूཤྺΛه)͍͖ͯ͠·͢ ✱ ࠩΛࢹ ✱ εςʔδϯά
✱ ίϛοτ ✱ ίϛοτϩάΛ֬ೝ ฤूͯ͠ɺίϛοτ ͋ͳͨͷ1$ ϩʔΧϧϦϙδτϦʹ มߋͨ͠ϑΝΠϧΛొ
15 master ͜ΕΛ܁Γฦ͢ ίϛοτ͕ͲΜͲΜ࿈ͳ͍͖ͬͯ·͢ جຊ͜ͷ܁Γฦ͠Ͱ͢
16 ϒϥϯν ຊͷۄͰ͢
17 master feature develop ϒϥϯνͱ Git ͷίϛοτΛࢬ͔Εͤͨ͞ͷ ֤ϒϥϯνશʹผঢ়ଶͰɺޓ͍ʹӨڹ͞Εͳ͍
18 master ϒϥϯν͕ͳ͍ͱ ৽ػೳΛՃ͍ͯ͠Δ్தʹɺ ۓٸͷमਖ਼͕ඞཁʹͳͬͨΒʁ ͦͷۓٸमਖ਼͚ͩΛΞοϓ͔ͨͬͨ͠Βʁ ۓٸमਖ਼ ৽ػೳՃ ৽ػೳՃ
19 master ϒϥϯν͕ͳ͍ͱ ۓٸमਖ਼ ৽ػೳՃ ৽ػೳՃ ࣮ Git ͷ͏·Έগͳ͍
20 master ϒϥϯν͕͋Δͱ ྫ) “master” ϒϥϯνɺຊ൪αʔόͷσʔλͱಉ͡ (Ϛελʔσʔλ) ୈ1ϑΣʔε͕ެ։ྃ͠·ͨ͠ɺ ୈ2ϑΣʔζʹ͚ͨػೳՃΛ։࢝͠·͢ɻ
21 master feature ϒϥϯν͕͋Δͱ ػೳՃͷͨΊʹɺ”feature” ͱ͍͏ϒϥϯνΛ ࡞Γɺ͜ͷϒϥϯνͰ࡞ۀΛ։࢝͠·͢
22 master fix feature ϒϥϯν͕͋Δͱ ࡞ۀ్தɺٸᬎɺۓٸमਖ਼͕ඞཁʹͳΓ·ͨ͠ʂ master ͔Βɺ৽͘͠ “fix”
ϒϥϯνΛ࡞͠·͢
23 master fix feature ϒϥϯν͕͋Δͱ fix ϒϥϯνͰमਖ਼Λߦ͍ɺmaster ʹ౷߹ɾެ։͠ ·͢ɻ(feature
ϒϥϯνͷ༰ӨڹΛड͚·ͤΜ)
24 master fix feature ϒϥϯν͕͋Δͱ feature ϒϥϯνͰɺػೳՃͷ࡞ۀʹΓ·͢
25 master fix feature ϒϥϯν͕͋Δͱ ػೳՃ͕ྃͨ͠Βɺmaster ʹ౷߹͠ɺ ެ։͠·͢ɻ
26 ✱ Ϛʔδ: ϒϥϯνؒͷσʔλΛ౷߹͢Δ͜ͱ ✱ ࠩɺجຊతʹࣗಈͰө͞ΕΔ (ߦ୯Ґ) Ϛʔδͱ master fix
feature 26
27 ϒϥϯνར༻Πϝʔδ 1. ৽ϝχϡʔͷՃ࡞ۀΛ͠·͢ 2. ࡞ۀ్தʹɺۓٸͷՁ֨मਖ਼͕ൃੜʂ 3. ͬ͘͞ͱۓٸରԠͨ͠ͷͪ 4. ৽ϝχϡʔͷՃ࡞ۀʹΓ·͢
ͬͯΈΑ͏
28 1. ৽ϝχϡʔ༻ͷϒϥϯνΛ࡞Δ 2. <tr> ΛՃɺ৽ϝχϡʔΛૠೖɺ ͨͱ͑Ձ֨ະఆͱͯ͠ίϛοτ 3. master ͔Βۓٸमਖ਼༻ϒϥϯνΛ࡞Δ
4. ۓٸमਖ਼ͯ͠ίϛοτ 5. master ʹϚʔδ 6. ৽ϝχϡʔ༻ϒϥϯνʹͬͯɺ࡞ۀܧଓ ͬͯΈΑ͏
29 master fix-typo add-menu ϒϥϯν͓͞Β͍ ࡞ۀ͝ͱʹϒϥϯν࡞ → ͨ͠ΒmasterʹϚʔδ ଞͷमਖ਼ͱͬͪ͝ΌʹͳΒͣɺεϜʔζʹ࡞ۀͰ͖Δ
30 ✱ αϧͰΘ͔ΔGitೖ Git ΛΘ͔Γ͘͢ਤղ (ψʔϥϘ͞Μ࡞) http://www.backlog.jp/git-guide/ ✱ Git-it ίϚϯυϥΠϯ(ࠇ͍ը໘)Ͱ
Git Λ֮͑ΔͨΊͷڭࡐ (GitHubͷਓ࡞) https://github.com/jlord/git-it ͬͱษڧ͍ͨ͠ͳΒ
31 ✱ ͋Γ͕ͱ͏͍͟͝·ͨ͠ ✱ Ҿ͖ଓ͖ TAM / λϯόϦϯϒʔεΛ ग़͍ͯ͠·͢ɺͥͻཱ͓ͪدΓ͍ͩ͘͞ ✱
ٻਓ Wantedly TAM or Wantedly λϯόϦϯ Ͱݕࡧ ͓ΘΓ