Submit Search
Git introduction
0 likes
316 views
T
totzyuta
1 of 70
Download now
Download to read offline
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
More Related Content
PDF
新たなgitのブランチモデル「Git Feature Flow」!Git Flow,Git Hub Flow,Git Lab Flowを超えれるか?
naoki koyama
PPTX
Git演習(2)
sono8
PDF
やりなおせる Git 入門
Tomohiko Himura
PDF
デザイナのためのGit入門
dsuke Takaoka
PDF
ゆるふわっGit入門
Keisuke Oohata
PDF
GitとGitHubによる chordのバージョン管理 for バンドマン
Ryu Seino
PDF
とあるぼっち開発者の憂鬱とGit
Seiichiro Mishiba
PDF
Git flowについてまとめてみた
hiroyuki koga
新たなgitのブランチモデル「Git Feature Flow」!Git Flow,Git Hub Flow,Git Lab Flowを超えれるか?
naoki koyama
Git演習(2)
sono8
やりなおせる Git 入門
Tomohiko Himura
デザイナのためのGit入門
dsuke Takaoka
ゆるふわっGit入門
Keisuke Oohata
GitとGitHubによる chordのバージョン管理 for バンドマン
Ryu Seino
とあるぼっち開発者の憂鬱とGit
Seiichiro Mishiba
Git flowについてまとめてみた
hiroyuki koga
Viewers also liked
(10)
PDF
pecoを使おう
Hideaki Miyake
PPTX
Led cube lt
Naohito Yamashita
PPTX
Ruby 勉強会 第42回 発表資料 IO について
Tomoya Kawanishi
PDF
はじめてのアマゾンクラウド②[仮想サーバ(Amazon EC2)を立ち上げる]
SORACOM, INC
PDF
DB設計でこだわりたい三つの要素
Takahiro YAMADA
PPT
An Introduction to Visual Thinking
Ryan Coleman
PDF
セクシー女優で学ぶ画像分類入門
Takami Sato
PDF
Get started with dropbox
Dibyamohan panda
PDF
WordPressで電子書籍
Takayuki Miyauchi
PDF
EPUBのナビゲーションを理解しよう
Hiroshi Takase
pecoを使おう
Hideaki Miyake
Led cube lt
Naohito Yamashita
Ruby 勉強会 第42回 発表資料 IO について
Tomoya Kawanishi
はじめてのアマゾンクラウド②[仮想サーバ(Amazon EC2)を立ち上げる]
SORACOM, INC
DB設計でこだわりたい三つの要素
Takahiro YAMADA
An Introduction to Visual Thinking
Ryan Coleman
セクシー女優で学ぶ画像分類入門
Takami Sato
Get started with dropbox
Dibyamohan panda
WordPressで電子書籍
Takayuki Miyauchi
EPUBのナビゲーションを理解しよう
Hiroshi Takase
Ad
Similar to Git introduction
(20)
KEY
20120324 git training
Takeshi AKIMA
PDF
バージョン管理
Misa Kondo
PDF
Git&GitHub入門
hideaki honda
ODP
20130608 git-0
Kasu Unko
PPTX
GitHubワークショップ
Hiroaki Murayama
PDF
猫にはわからないGit講座
Yusei Yamanaka
PDF
ノンプログラマのGit入門
Muyuu Fujita
PPT
Githubことはじめ
tikitikipoo
PDF
Gitとちょっと仲良くなるために覚えたことまとめ
Natsumi Kashiwa
PDF
Git 10min
gon6109
PDF
Github勉強会
From Atom
PPTX
超ざっくりとGitについて学ぶ
tomori
PPTX
Git勉強会 #01
risaiku リサイク
PDF
Gitのいいところ
kyanro
PDF
Git -分散バージョン管理システム-
Koji Shinba
PPTX
Git勉強会資料
Kenji Takei
PDF
Git for beginners
Shohei kamon
PDF
git-webtouchmeeting
Tomohiko Himura
KEY
Git (実践入門編)
Naomichi Yamakita
PPT
15分でわかる分散バージョン管理システムgit
Tomohiro MITSUMUNE
20120324 git training
Takeshi AKIMA
バージョン管理
Misa Kondo
Git&GitHub入門
hideaki honda
20130608 git-0
Kasu Unko
GitHubワークショップ
Hiroaki Murayama
猫にはわからないGit講座
Yusei Yamanaka
ノンプログラマのGit入門
Muyuu Fujita
Githubことはじめ
tikitikipoo
Gitとちょっと仲良くなるために覚えたことまとめ
Natsumi Kashiwa
Git 10min
gon6109
Github勉強会
From Atom
超ざっくりとGitについて学ぶ
tomori
Git勉強会 #01
risaiku リサイク
Gitのいいところ
kyanro
Git -分散バージョン管理システム-
Koji Shinba
Git勉強会資料
Kenji Takei
Git for beginners
Shohei kamon
git-webtouchmeeting
Tomohiko Himura
Git (実践入門編)
Naomichi Yamakita
15分でわかる分散バージョン管理システムgit
Tomohiro MITSUMUNE
Ad
Git introduction
1.
Git/GitHub 超入門 GitHubでたのしいチーム開発
2.
本日のゴール
3.
- Gitたのしい! - GitHubでチーム開発気持ちい!
4.
git
5.
git ってなんやろか…
6.
分散バージョン管理システム …よけいわからん
7.
要すると 分散 して、 バージョン を 管理する システム のこと
8.
「バージョン管理」って…?
9.
普段やってること
10.
普段やってること メモ.txt メモ ID: hoge
11.
メモ.txt メモ ID: hoge 普段やってること メモ.txt メモ ID: hoge2015 編集中…
12.
普段やってること メモ.txt メモ ID: hoge メモ.txt メモ ID: hoge2015 セーブ!!
13.
普段やってること メモ.txt メモ ID: hoge メモ.txt メモ ID: hoge2015 間違えてた!! 戻したいけど上書きしてんじゃん!!!
14.
バージョンを管理したいとき、 どうしますか? …よけいわからん
15.
コピーしてバックアップを とっておく 案その1
16.
コピーをとっておく 最新版index.html index.html (前のやつ) index-old.html index20510620.html 編集用index.htmlindex.html
18.
「バージョン管理」とは
19.
セーブするたびに、 バージョンを振ります
20.
「バージョン管理」とは… メモ.txt 変更しました! メモ.txt セーブしました! ver. 2 ver. 1
21.
「バージョン管理」とは… メモ.txt メモ.txt やばい間違えてた! しかも上書きしちゃっ たよー!! ver. 2 ver. 1
22.
そんなときにgitなら メモ.txt 一個前にセーブした ところ(ver.1)に戻る! メモ.txt これで安心!便利! ver. 2 ver. 1
23.
すべての変更履歴を管理できる gitのいいところその1
24.
gitのことば • セーブ =
コミット (commit) • リポジトリ = フォルダ
25.
gitのしくみ ローカルリポジトリ index.html style.cssリモートリポジトリ index.html style.css index.html style.css commit merge 自分のPCの中 push fetch
26.
みんながみんなのPCで ネットなくても作業できる gitのいいところその2
27.
これでgit使える!
28.
$ git add
FILENAME $ git commit -m “message” $ git push 1. ステージング・エリアに追加 2. ローカルで変更をセーブ 3. ローカルのセーブをリモートにもセーブ
29.
$ git add
FILENAME $ git commit -m “message” 1. ステージング・エリアに追加 2. ローカルで変更をセーブ
30.
$ git add/commit ローカルリポジトリ index.html style.cssリモートリポジトリ index.html style.css index.html style.css add/commit 自分のPCの中
31.
$ git add
FILENAME $ git commit -m “message” $ git push 1. ステージング・エリアに追加 2. ローカルで変更をセーブ 3. ローカルのセーブをリモートにもセーブ
32.
$ git push 3.
ローカルのセーブをリモートにもセーブ
33.
$ git push ローカルリポジトリ index.html style.cssリモートリポジトリ index.html style.css index.html style.css 自分のPCの中 push
34.
GitHubとは
36.
GitHubは、 Gitのリポジトリ をホスティングするサービス
37.
gitのしくみ ローカルリポジトリ index.html style.cssリモートリポジトリ index.html style.css index.html style.css commit merge 自分のPCの中 push fetch GitHub
39.
チーム開発どうやんの
40.
チーム開発のやりかた トツカのローカルリポジトリ index.html style.css リモートリポジトリ (GitHubがホスト) index.html style.css index.html style.css commit merge fetch push
41.
彼女と共同作業をするとき
42.
彼女と共同作業をするとき トツカのローカルリポジトリ index.html style.css index.html style.css index.html style.css commit merge fetch push 彼女のローカルリポジトリ index.html style.css index.html style.css commit merge fetch push リモートリポジトリ (GitHubがホスト)
43.
リモートリポジトリ (GitHubがホスト) 彼女と共同作業をするとき トツカのローカルリポジトリ index.html style.css index.html style.css index.html style.css commit merge fetch push 彼女のローカルリポジトリ index.html style.css index.html style.css commit merge fetch push これが分散!!!
44.
チーム開発フロー
45.
チーム開発フロー • 自分のアカウントにデータを複製 (fork) •
ローカル(自分のPCの中)にデータを持ってくる (clone) • 編集する • 変更内容をコミット(セーブ)する (add/commit) • コミット内容をリモート(GitHub上のソース)に反映する (push) • Pull Requestをだす (GitHubの画面から!)
46.
1. 複製する (fork) 編集したいデータの複製を自分の GitHubのアカウントにつくれます GitHubのページから!!
47.
1. 複製する (fork) ローカルリポジトリ リモートリポジトリ 自分のPCの中 GitHub (自分のアカウント)
index.html style.css オリジナル
48.
1. 複製する (fork) ローカルリポジトリ index.html style.cssリモートリポジトリ 自分のPCの中 fork GitHub (自分のアカウント)
index.html style.css オリジナル
49.
$ git clone
https://github… 2. 自分のPCに持ってくる (clone) リモート(GitHub)から ローカル(自分のCP)にデータを持ってきます * URLはGitHubのページからコピペします
50.
2. 自分のPCに持ってくる (clone) ローカルリポジトリ index.html style.cssリモートリポジトリ 自分のPCの中 GitHub (自分のアカウント)
index.html style.css オリジナル(本体)
51.
2. 自分のPCに持ってくる (clone) ローカルリポジトリ index.html style.cssリモートリポジトリ index.html style.css 自分のPCの中 clone GitHub (自分のアカウント)
index.html style.css オリジナル(本体) index.html style.css
52.
3. 編集する
53.
3. 編集する ローカルリポジトリ index.html style.cssリモートリポジトリ index.html style.css 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index.html style.css
54.
3. 編集する ローカルリポジトリ index.html style.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index.html style.css 編集したった!!!!
55.
$ git commit
-m “message” 4. コミット(セーブ)する ローカル(自分のPCの中)で 変更内容をセーブ! $ git add FILENAME commit(セーブ)するファイルを選ぶ
56.
4. コミット(セーブ)する ローカルリポジトリ index.html style.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index.html style.css
57.
4. コミット(セーブ)する ローカルリポジトリ index.html style.cssリモートリポジトリ index2.html style2.css add /
commit 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index2.html style2.css
58.
$ git push 5.
リモートに反映する (push) ローカル(自分のPC)の中の変更を リモート(GitHub上)のソースに反映します
59.
5. リモートに反映する(push) ローカルリポジトリ index.html style.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index2.html style2.css
60.
5. リモートに反映する(push) ローカルリポジトリ index2.html style2.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index2.html style2.css push
61.
GitHubのページから!! 6. 変更を取り込んでもらう (pull request) オリジナルのレポジトリに 「僕の変更を取り込んでくれ!」 とリクエストします
62.
5. 変更を取り込んでもらう(pull request) ローカルリポジトリ index2.html style2.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント)
index.html style.css オリジナル(本体) index2.html style2.css
63.
5. リモートに反映する(push) ローカルリポジトリ index2.html style2.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント) index.html style.css オリジナル(本体) index2.html style2.css PR 変更したから取 り込んでよー!!
64.
5. リモートに反映する(push) ローカルリポジトリ index2.html style2.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント) index2.html style2.css オリジナル(本体) index2.html style2.css PR 変更したから取 り込んでよー!! OK!!!
65.
0. みんなの変更を取り込む $ git
pull upstream master オリジナルの方のリモート(GitHub上)が変更され ていたら最新版を自分のソースに取り込む $ git remote add upstream https:// github.com/okadai-techlab/okayama-u- techlab.com.git てくらぼのオリジナルの方もリモート先として登録する * 登録は最初の一回だけでいいよ! ‘upstrem’って名前じゃなくてもいいよ!
66.
5. 変更を取り込んでもらう(pull request) ローカルリポジトリ index2.html style2.cssリモートリポジトリ index2.html style2.css 自分のPCの中 GitHub (自分のアカウント)
index3.html style3.css オリジナル(本体) upstream index2.html style2.css 誰かが変更した (最新版) 複製 origin
67.
5. 変更を取り込んでもらう(pull request) ローカルリポジトリ index2.html style2.cssリモートリポジトリ index3.html style3.css 自分のPCの中 GitHub (自分のアカウント)
index3.html style3.css index3.html style3.css pull オリジナル(本体) upstream 複製 origin
68.
彼女と共同作業をするとき トツカのローカルリポジトリ index.html style.css index.html style.css index.html style.css commit merge push 彼女のローカルリポジトリ index.html style.css index.html style.css commit merge pull push リモートリポジトリ (GitHubがホスト) upstream index.html style.css index.html style.css push pull push PR
PR 複製 origin
69.
チーム開発フロー • 自分のアカウントにデータを複製 (fork)
… 1回目だけ • ローカル(自分のPCの中)にデータを持ってくる (clone) … 1回目だけ • 最新版を取り込む (pull) • 編集する • 変更内容をコミット(セーブ)する (add/commit) • コミット内容をリモート(GitHub上のソースorigin)に反映する (push) • みんなの変更を取り込む (Pull Requestをだす) -> pullに戻る
70.
Demo
Download