Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
EN
Uploaded by
Yoshi Watanabe
PPTX, PDF
1,020 views
Git コンフリクト
Gitでコンフリクトが起こる様子をグラフで示しながら説明しています。
Software
◦
Read more
1
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 13
2
/ 13
3
/ 13
4
/ 13
5
/ 13
6
/ 13
7
/ 13
8
/ 13
9
/ 13
10
/ 13
11
/ 13
12
/ 13
13
/ 13
More Related Content
PDF
5分で分かるgitのrefspec
by
ikdysfm
PDF
こわくない Git
by
Kota Saito
PDF
Gitのコンフリクトの解決
by
sirojiba
PPTX
Git フェッチ
by
Yoshi Watanabe
PDF
Binary search tree exact match - illustrated walkthrough
by
Yoshi Watanabe
PDF
演習におけるGitを使った開発手順
by
sirojiba
PDF
SSH力をつけよう
by
(^-^) togakushi
PDF
Gitはじめの一歩
by
Ayana Yokota
5分で分かるgitのrefspec
by
ikdysfm
こわくない Git
by
Kota Saito
Gitのコンフリクトの解決
by
sirojiba
Git フェッチ
by
Yoshi Watanabe
Binary search tree exact match - illustrated walkthrough
by
Yoshi Watanabe
演習におけるGitを使った開発手順
by
sirojiba
SSH力をつけよう
by
(^-^) togakushi
Gitはじめの一歩
by
Ayana Yokota
Similar to Git コンフリクト
ODP
20130608 git-2
by
Kasu Unko
PDF
Git-dojo In Sendagaya.rb
by
Jun Fukaya
PPTX
Git リベース
by
Yoshi Watanabe
PDF
Python for Data Analysis第1回勉強会(+git入門)
by
Makoto Kawano
KEY
デザイナのためのGit講座
by
Akira Suenami
PDF
はじめてのGit #gitkyoto
by
Hisateru Tanaka
PDF
社内勉強会用Gitのスライド#02
by
nobuyasu tomura
PDF
Git overview (v 0.96)
by
Tatsuki Sugiura
PDF
Git超入門(ハンズオン).pdf
by
憲昭 村田
PPTX
今さら聞けない人のためのGit超入門 2020/12/19
by
VirtualTech Japan Inc./Begi.net Inc.
PPTX
今さら聞けない人のためのgit超入門
by
VirtualTech Japan Inc./Begi.net Inc.
PPTX
今さら聞けない人のためのgit超入門
by
VirtualTech Japan Inc./Begi.net Inc.
PPTX
今さら聞けない人のためのGit超入門 OSC2018広島版
by
VirtualTech Japan Inc./Begi.net Inc.
PPTX
今さら聞けない人のためのGit超入門 GitLab 13対応版
by
VirtualTech Japan Inc./Begi.net Inc.
PDF
Git 入門
by
y-uti
PDF
Git入門-概念編
by
Shin Tanigawa
PDF
バージョン管理
by
Misa Kondo
PPTX
Git勉強会
by
Tomoki Oyamatsu
PPTX
今さら聞けない人のためのGit超入門 GitLab 14対応版
by
VirtualTech Japan Inc./Begi.net Inc.
KEY
20120324 git training
by
Takeshi AKIMA
20130608 git-2
by
Kasu Unko
Git-dojo In Sendagaya.rb
by
Jun Fukaya
Git リベース
by
Yoshi Watanabe
Python for Data Analysis第1回勉強会(+git入門)
by
Makoto Kawano
デザイナのためのGit講座
by
Akira Suenami
はじめてのGit #gitkyoto
by
Hisateru Tanaka
社内勉強会用Gitのスライド#02
by
nobuyasu tomura
Git overview (v 0.96)
by
Tatsuki Sugiura
Git超入門(ハンズオン).pdf
by
憲昭 村田
今さら聞けない人のためのGit超入門 2020/12/19
by
VirtualTech Japan Inc./Begi.net Inc.
今さら聞けない人のためのgit超入門
by
VirtualTech Japan Inc./Begi.net Inc.
今さら聞けない人のためのgit超入門
by
VirtualTech Japan Inc./Begi.net Inc.
今さら聞けない人のためのGit超入門 OSC2018広島版
by
VirtualTech Japan Inc./Begi.net Inc.
今さら聞けない人のためのGit超入門 GitLab 13対応版
by
VirtualTech Japan Inc./Begi.net Inc.
Git 入門
by
y-uti
Git入門-概念編
by
Shin Tanigawa
バージョン管理
by
Misa Kondo
Git勉強会
by
Tomoki Oyamatsu
今さら聞けない人のためのGit超入門 GitLab 14対応版
by
VirtualTech Japan Inc./Begi.net Inc.
20120324 git training
by
Takeshi AKIMA
Git コンフリクト
1.
git コンフリクト グラフで視覚化してみよう x a
2.
x Alice Bob Remote x x git clone git clone あるところにAliceとBobという 開発者がいました。 二人はとあるレポジトリから ソースをCloneしました。
3.
x Alice Bob Remote x x AliceとBobはそれぞれ同じ ファイルの同じ行に変更を 加えました。
4.
x Alice Bob Remote x x b git add test.txt git
commit -m “Alice changed it” git add test.txt git commit -m “Bob changed it” a Aliceはローカルのレポジト リに変更をコミットしまし た。 Bobも同じようにはローカ ルのレポジトリに変更をコ ミットしました。
5.
x Alice Bob Remote x x b a a git push まず、Aliceが先に彼女のレ ポジトリを中央レポジトリ にプッシュしました。
6.
x Alice Bob Remote x x b a a git push 次に、Bobが彼のレポジト リを中央レポジトリにプッ シュしましたが・・・エ ラーになりました。
7.
x Alice Bob Remote x x b a a git pull Auto-merging test.txt CONFLICT
(content): Merge conflict in test.txt Automatic merge failed; fix conflicts and then commit the result. a エラーの内容: コンフリクトです。マージしよう と試みましたが出来ませんでした。 自分でなんとか直してください。 プッシュを断られたので、プルし ます。するとエラーが出ました。
8.
x Alice Bob Remote x x b a a a コンフリクトが発生した ファイルを開けるとこんな 感じでした。
9.
x Alice Bob Remote x x b a a a 仕方がないので、BobはAliceの変 更も反映するように書き直しまし た。 この作業を手動マージといいます。
10.
x Alice Bob Remote x x a a a git add test.txt git
commit -m “Alice and Bob changed it” b c Bobは手動でマージして変更した ファイルをまたコミットしました。 彼のレポジトリには Aliceの変更 Bobの変更 手動マージの変更 の三つのコミットが見えます。
11.
x Alice Bob Remote x x a a a b c b c git
push Bobが彼のレポジトリを中 央レポジトリにプッシュし ました。 エラーは出ませんでした。
12.
x Alice Bob Remote x x a a a b c b c git
pull b c ちなみに、Aliceが中央レポ ジトリの最新の状態をプル しました。 これで二人の作業が時系列 にそってきちんと保存され ました。
13.
xRemote a b
c x a b c それぞれのコミットのファ イルの状態は時系列にそっ て記録されています。
Download