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
複数会社複数リポジトリでのソース管理
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
S-cubism
November 17, 2017
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
複数会社複数リポジトリでのソース管理
S-cubism
November 17, 2017
More Decks by S-cubism
See All by S-cubism
WSLでreactの開発環境作った話
scubism
0
740
未経験者がAndroidアプリをリリースするまで
scubism
0
160
scubism_LT_20180223_細田謙二_イベントソーシング
scubism
0
170
REVEAL.JSをちょっとだけ使ってみた
scubism
0
290
忙しい人のための仮想通貨
scubism
0
140
サーバ作業の注意コマンド
scubism
0
160
最近勉強してること、次にやりたいこと
scubism
0
130
FOOD TECH
scubism
0
81
Firebase(Realtime Database)について
scubism
0
140
Other Decks in Technology
See All in Technology
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
160
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
2
2.1k
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
320
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
8
3.6k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
1
1.6k
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.7k
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
330
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
140
2026-09-18 gotanda.sre Terraformで複数環境作ったり、複数Stateに分割したりそれとTerragrunt / Terraform multi envs and multi states
masasuzu
1
430
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.9k
日経電子版を支えていく Kasane Design System/fec_fukuoka
nikkei_engineer_recruiting
0
1.6k
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
940
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
540
Product Roadmaps are Hard
iamctodd
55
13k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
540
Ruling the World: When Life Gets Gamed
codingconduct
0
330
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
4 Signs Your Business is Dying
shpigford
187
23k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Transcript
複数リポジトリでの Git管理 開発1部 土田時生
運用状況 ・リリースが多い(2週間に1回) ・開発会社5社以上 ・gitリポジトリ4つ(さらに社内で2つ) ・メインサイト(アプリケーション) ・メインサイト(静的コンテンツ) ・別ドメインサイト(アプリケーション) ・別ドメインサイト(静的コンテンツ)
3か月間の開発期間 最新のリリース分を 取り込み続けなければならない。 課題
複数の開発案件をぶつけるので コンフリクトの嵐。 何よりコンフリクトしないコンフリクトがこわい。 ※同じ行を編集していないので、 git上はきれいに取り込まれるが、影響の範囲内) 例)変数名が変えられている 開発開始時と大幅に処理が変わっている 課題
・ただマージするのではなく、開発案件ごとに 取り込みプルリクエストを残す。 ・同じファイルを編集しているものをリスト化し 記録に残す。(セッション等別のファイルでの処理 に影響及ぼすのはもう仕方ない) 対応
git diff origin/branch1...origin/branch2 --diff-filter=M --name-only > diff1.txt && git diff
origin/branch2...origin/branch1 --diff-filter=M --name-only > diff2.txt && git diff origin/branch2..origin/branch1 --diff-filter=M --name-only > diff3.txt && grep -x -f diff3.txt <$(grep -x -f diff1.txt diff2.txt) > diff5.txt 1 3 2 branch1 branch2
よく使うコマンド ・git diff branch1..branch2 ・git diff branch1...branch2 ・git diff –diff-filter
・git cherry-pick ・git cherry-pick -m ・git remote –v ・git branch –vv ・git branch -vv | awk '1{n=3}/^*/{n=4}$n~/^¥[/{gsub(/¥[|¥]|:/,"");print $n}'