Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
なんちゃってGit入門
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Paralleltree
June 27, 2016
Programming
23
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
なんちゃってGit入門
学校で使ったやつ
Paralleltree
June 27, 2016
Other Decks in Programming
See All in Programming
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
残高管理から台帳サービスへの進化
artoy
1
200
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
150
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
JIS keyboard support in Omarchy
lef237
0
120
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
ChromeでローカルLLM
ryu1013
0
140
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
RailsConf 2023
tenderlove
30
1.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
480
Prompt Engineering for Job Search
mfonobong
0
520
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
A designer walks into a library…
pauljervisheath
211
25k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Transcript
3Fθϩ͔Β࢝ΊΔ(JU։ൃ
(JUJTԿ
"ࢄܕόʔδϣϯ ཧγεςϜ
None
͘͡ (JUͱ όʔδϣϯཧͱ UIF(JU8BZ ࢄܕͱ
όʔδϣϯཧͱ
2࠷৽൛ͲΕͰ͠ΐ͏
2࠷৽൛ͲΕͰ͠ΐ͏ "Θ͔Γ·ͤΜ
2࠷৽൛ͲΕͰ͠ΐ͏ "Θ͔Γ·ͤΜ
͜Μͳࢥ͍Λ͠ͳ͍ͨΊͷ όʔδϣϯཧγεςϜ w ίʔυ υΩϡϝϯτ FUD ͷมߋΛཧ w Ճ͑ΒΕͨมߋΛ
UIF(JU8BZ
श͏ΑΓ׳ΕΖ w 8JOEPXT w IUUQTHJUGPSXJOEPXTHJUIVCJP͔Β (JUGPS8JOEPXTΛΠϯετʔϧ w IUUQTEFTLUPQHJUIVCDPN͔Β (JU)VCGPS8JOEPXTΛΠϯετʔϧ .BDՄ
w .BD-JOVY w ͓͍ͷύοέʔδϚωʔδϟʔͰαΫοͱ w FY $ sudo apt-get install git
(JUΛΔͨΊͷ࠷খࣝ w ϦϙδτϦʜ(JUʹΑΔཧͷ࠷େ୯Ґ w ίϛοτʜϑΝΠϧͷมߋΛ·ͱΊͨͷ w ϒϥϯνʜίϛοτΛࢦ͢ΤΠϦΞε ผ໊
σΟϨΫτϦ (JUΛΔͨΊͷ࠷খࣝ ϦϙδτϦ ͜͜ΑΓ֎ͷ ੈքཧ͠ͳ͍
(JUΛΔͨΊͷ࠷খࣝ ϦϙδτϦ ίϛοτ ίϛοτ ͷࢀর
(JUΛΔͨΊͷ࠷খࣝ ϦϙδτϦ ίϛοτ ͷࢀর /&8
(JUΛΔͨΊͷ࠷খࣝ ϦϙδτϦ master ϒϥϯνɿ ίϛοτͷผ໊ b026 26ab 6d7f 48a2 ίϛοτϋογϡ
*% ͍֮͑ͯΒΕͳ͍ʜ
(JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦΛ࡞Δ ࡞ۀ͢Δ εςʔδϯά͢Δ ίϛοτ͢Δ
ʹΔ
σΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ $ mkdir dir
σΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ HJU $ git init
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ echo hello > bar.txt ϫʔΫπϦʔ ΠϯσοΫε
CBS IFMMP
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ git add bar.txt ϫʔΫπϦʔ ΠϯσοΫε CBS
CBS BEE IFMMP
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ git commit -m "Initial commit" ϫʔΫπϦʔ
ΠϯσοΫε CBS CBS DPNNJU
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ echo happy >> bar.txt ϫʔΫπϦʔ ΠϯσοΫε
CBS IFMMP IBQQZ HEAD
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ git add bar.txt ϫʔΫπϦʔ ΠϯσοΫε CBS
CBS BEE IFMMP IBQQZ HEAD
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ echo sad >> bar.txt ϫʔΫπϦʔ ΠϯσοΫε
CBS CBS IFMMP IBQQZ HEAD IFMMP IBQQZ TBE
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ git commit -m "Initial commit" ϫʔΫπϦʔ
ΠϯσοΫε CBS CBS DPNNJU IFMMP IBQQZ IFMMP IBQQZ TBE HEAD
(JUཧԼσΟϨΫτϦ (JUΛ͏ͨΊͷ࠷খࣝ ϦϙδτϦ $ git show HEAD ϫʔΫπϦʔ ΠϯσοΫε CBS
IFMMP IBQQZ TBE HEAD
ͦͷଞͷίϚϯυ w HJUTUBUVTʜݱࡏͷεςʔδϯάঢ়گΛදࣔ w HJUEJ⒎ʜΠϯσοΫεͱϫʔΫπϦʔͷࠩΛදࣔ w HJUTIPXDPNNJUʜίϛοτͷৄࡉΛදࣔ w HJUMPHʜίϛοτཤྺΛදࣔ
(JUJTλΠϜϚγϯ ϦϙδτϦ master b026 26ab 6d7f 48a2 HEAD
(JUJTλΠϜϚγϯ ϦϙδτϦ master b026 26ab 6d7f 48a2 HEAD DIFDLPVU HEAD
$ git checkout HEAD^^ (or git checkout 26ab)
(JUJTλΠϜϚγϯ ϦϙδτϦ master b026 26ab 6d7f 48a2 HEAD $ cat
bar.txt # time travel!!
(JUJTλΠϜϚγϯ ϦϙδτϦ master b026 26ab 6d7f 48a2 HEAD DIFDLPVU HEAD
$ git checkout master
ϒϥϯνBTϙΠϯλ w NBTUFSʜHJU͕σϑΥϧτͰ࡞͢Δϒϥϯν w )&"%ʜݱࡏͷϫʔΫπϦʔΛද͢ϒϥϯν w DPNNJU?ʜDPNNJUͷͭલͷίϛοτΛࢦ͢ w DPNNJU??ʜDPNNJUͷͭલͷίϛοτΛࢦ͢ w
DPNNJUdOʜDPNNJUͷO൪લͷίϛοτΛࢦ͢
(JUλΠϜϚγϯ (JUͷ҆৺ײJT(PE
ίϛοτཻ 2ͲΕ͘Β͍ͷ୯ҐͰίϛοτ͢Ε͍͍ͷʁ "͋ͱͰݟ͕ͨࣗΘ͔Γ͍͢୯ҐͰ େ͖͗͢Δͱมߋͷաఔ͕Θ͔Γʹ͍͘ˠमਖ਼ࠔ খ͗͢͞Δͱίϛοτ͕૿͑ΔˠࡶԽ
ࢄܕͱ
ࢄܕ͡Όͳ͍ ˠूதܕ SFQP มߋଈө QVTI
QVTI ࢄܕ SFNPUF SFQP มߋΛૹ৴લʹۛຯͰ͖Δ MPDBM SFQP MPDBM SFQP QVMM
॓ w (JUͰهΛ͚ͭ·͠ΐ͏ w ྫ͑ʜ w ϑΝΠϧ w ຖ൩ίϛοτ w
िؒ͘Β͍