More Related Content
Similar to git講座用パワーポイント (7)
git講座用パワーポイント
- 15. z
仕組み (2/3) : コミット
repo
作業中の
フォルダ
ステージング
Project.pde Character.pde
Enemy.pde Stage.pde
git add ファイル名
Character.pde
Stage.pde
git commit –m “コメント”
Add Commit
- 16. z
仕組み (3/3) : リモートとローカルの違い
repo
リモートリポジトリ
(http://remote.com)
repo repo repo
ローカルリポジトリ
&
作業フォルダー
Push
Pull
- 49. z
まとめ4/7
git merge ブランチ名
git checkout --ours ファイル名
git checkout --theirs ファイル名
ブランチ名のコミットを現在のブランチにマージする
コンフリクトしたファイルをマージ先の内容を優先する
コンフリクトしたファイルをマージ元の内容を優先する