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
180
リーダーズ9期 CocoaPods講座
shinokiryosei
0
69
Leaders 9期 コースプレゼン
shinokiryosei
0
160
AutoLayout講座
shinokiryosei
2
130
Other Decks in Technology
See All in Technology
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
強いチームと開発生産性
onk
PRO
35
11k
FlutterアプリにおけるSLI/SLOを用いたユーザー体験の可視化と計測基盤構築
ostk0069
0
100
TypeScript、上達の瞬間
sadnessojisan
46
13k
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
150
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
190
AIチャットボット開発への生成AI活用
ryomrt
0
170
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
6
660
日経電子版のStoreKit2フルリニューアル
shimastripe
1
140
AGIについてChatGPTに聞いてみた
blueb
0
130
Featured
See All Featured
A Tale of Four Properties
chriscoyier
156
23k
A Philosophy of Restraint
colly
203
16k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
We Have a Design System, Now What?
morganepeng
50
7.2k
Building Your Own Lightsaber
phodgson
103
6.1k
GraphQLとの向き合い方2022年版
quramy
43
13k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
How GitHub (no longer) Works
holman
310
140k
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ۃྗ৮Βͳ͍