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&GitHub
Search
Ryosei Shinoki
June 03, 2017
Technology
0
1.4k
チームで使おうGit&GitHub
6月3日(土) Git講座
Ryosei Shinoki
June 03, 2017
Tweet
Share
More Decks by Ryosei Shinoki
See All by Ryosei Shinoki
リーダーズ9期 GitHub講座
shinokiryosei
0
190
リーダーズ9期 CocoaPods講座
shinokiryosei
0
71
Leaders 9期 コースプレゼン
shinokiryosei
0
170
AutoLayout講座
shinokiryosei
2
130
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
6.2k
AWS Lambdaでサーバレス設計を学ぼう_ベンダーロックインの懸念を超えて-サーバレスの真価を探る
fukuchiiinu
4
930
AIとSREの未来 / AI and SRE
ymotongpoo
2
1.8k
Flutterアプリを⾃然⾔語で操作する
yukisakai1225
0
210
Autonomous Database サービス・アップデート (FY25)
oracle4engineer
PRO
1
720
ゆるSRE #11 LT
okaru
1
180
Roo CodeとClaude Code比較してみた
pharma_x_tech
1
110
セキュリティSaaS企業が実践するCursor運用ルールと知見 / How a Security SaaS Company Runs Cursor: Rules & Insights
tetsuzawa
1
2.9k
Two-Tower モデルで実現する 検索リランキング / Shibuya_AI_2
visional_engineering_and_design
2
120
Kubernetesで作るAIプラットフォーム
oracle4engineer
PRO
2
160
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
270
Observability 入門班:可觀測性的核心技術架構與 OpenTelemetry 實作指南
unclejoe
0
180
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
YesSQL, Process and Tooling at Scale
rocio
172
14k
How to train your dragon (web standard)
notwaldorf
92
6.1k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Writing Fast Ruby
sferik
628
61k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
670
Visualization
eitanlees
146
16k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
7
640
The Language of Interfaces
destraynor
158
25k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Music & Morning Musume
bryan
47
6.6k
Designing Experiences People Love
moore
142
24k
Transcript
νʔϜͰ͓͏ Git&GitHub
Git GitHub ࢄܕόʔδϣϯཧπʔϧ (JUΛϗεςΟϯά͢ΔαʔϏε
ίϚϯυҰཡ JOJU BEE DPNNJU SFNPUF QVTI QVMM DIFDLPVU CSBODI TUBTI
SFTFU DMPOF MPH GFUDI SFCBTF TUBUVT EJ⒎
ίϚϯυҰཡ BEE DPNNJU JOJU SFNPUF QVTI QVMM DMPOF GFUDI DIFDLPVU
CSBODI SFCBTF TUBTI SFTFU MPH TUBUVT EJ⒎ ঢ়ଶཧ νʔϜ ϦϞʔτ ϩʔΧϧ
init add HJUΛॳظԽ͢ΔίϚϯυ HJUΛ͏ͨΊͷ͓·͡ͳ͍ ͠ͷ͖༁ ಛఆͷϑΝΠϧΛεςʔδϯάΤϦΞʹՃ͢ΔίϚϯυ DPNNJU͢ΔϑΝΠϧͷબΛͯ͠Δ ͠ͷ͖༁
commit push HJUϑΥϧμʹมߋɾࠩΛՃ͢ΔίϚϯυ HJUʹηʔϒ͢Δڧྗͳηʔϒ ͠ͷ͖༁ ϗεςΟϯάઌʹϩʔΧϧͷมߋΛө͢ΔίϚϯυ HJUIVCͷϓϩδΣΫτΛߋ৽͢Δ ͠ͷ͖༁
pull clone ϦϞʔτͷมߋΛϩʔΧϧʹϚʔδ͢ΔίϚϯυ HJUIVCΛϩʔΧϧʹڧ੍తʹө ͠ͷ͖༁ ϦϞʔτͷίϐʔΛϩʔΧϧʹͭ͘ΔίϚϯυ ਖ਼͘͠HJUIVCΛϩʔΧϧʹμϯϩʔυ ͠ͷ͖༁
remote branch ϦϞʔτͷϦϙδτϦͱϩʔΧϧΛଓ͢ΔίϚϯυ ϦϞʔτͷ63-Λอଘ ͠ͷ͖༁ ϒϥϯνΛ࡞ɾআͳͲϒϥϯνͷૢ࡞Λ͢ΔίϚϯυ ϒϥϯνΛ࡞͢ΔແҙຯͳίϚϯυ ͠ͷ͖༁
checkout status ϒϥϯνΛΓସ͑ΔίϚϯυ DIFDLPVUC৽͍͠ϒϥϯν໊͕ศར ͠ͷ͖༁ HJUͷঢ়ଶΛݟΔͨΊͷίϚϯυ ͕ࠩ͋Δ͔֬ೝ͢Δ ͠ͷ͖༁
stash ݱঢ়ͷมߋΛҰ࣌ୀආ͢ΔίϚϯυ QVMM͢Δͱ͖ʹ͕ࠩ͋ͬͨΒTUBTI ͠ͷ͖༁
νʔϜ։ൃͷྲྀΕ
νʔϜ։ൃͷྲྀΕ ϒϥϯνΛΔ ίϛοτϓογϡ ϓϧϦΫग़͢ (JU)VC্ͰϨϏϡʔϚʔδ
NBTUFSΛQVMM
master origin/master branchA branchB push branch commit commit merge push&pull
request push&pull request merge pull pull
master origin/master branchA branchB push branch push&pull request merge pull
commit commit push&pull request pull conflict merge
master origin/master branchA branchB push branch push&pullreq pull commit commit
merge pull pull merge push&pullreq
νʔϜ։ൃͷݪଇ w NBTUFSʹίϛοτ͠ͳ͍ w NBTUFSϓϧͷΈ w Ϛʔδ(JU)VC্Ͱ
νʔϜ։ൃͷͨΊʹ
νʔϜ։ൃͷͨΊʹ w HJUJHOPSFΛͭ͘Δ w EJ⒎ΛݟΔ
νʔϜJ04։ൃͷͨΊʹ w QSPKFDUQCYQSPKʹҙ w *OUFSGBDF#VJMEFSۃྗ৮Βͳ͍