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
Git を GUI で使う話
Search
tsuda.a
May 20, 2026
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git を GUI で 使う話
Tortoise Git の入門です
tsuda.a
May 20, 2026
More Decks by tsuda.a
See All by tsuda.a
マジカルインクリメントと指数表記
tsudaahr
0
290
バックアップしていますか?
tsudaahr
0
170
RDB以前のファイル設計の話でもしようか(ぇ
tsudaahr
0
180
NPUわからん
tsudaahr
0
230
計算量オーダーの話
tsudaahr
1
490
クラウド初学者が抱える不安について
tsudaahr
0
470
キューとは何か
tsudaahr
0
310
等幅は死んだ(ぇ
tsudaahr
0
150
いくら眺めてもエラーの理由がわからないコードについて
tsudaahr
0
250
Other Decks in Programming
See All in Programming
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.5k
カツオ、ご期待ください
suneo3476
0
110
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
7
5k
スマート反転とウェブアクセシビリティ
camiha
0
220
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
240
新卒PdEのリアル
ryu1013
1
520
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
320
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
280
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
140
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
950
Rails Girls Zürich Keynote
gr2m
96
14k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
Site-Speed That Sticks
csswizardry
13
1.5k
Being A Developer After 40
akosma
91
590k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
600
A better future with KSS
kneath
240
18k
Automating Front-end Workflow
addyosmani
1369
210k
Transcript
Git を GUI で 使う話 @tsuda_ahr (改訂1版)
GUI で Git を使う方法 • Visual Studio Code • ソースコード書くならこれが鉄板。
• Sourcetree • Windows 版 / Mac 版両方あり。 • TortoiseGit • Windows 版のみ。Explorer 統合。
今回は 亀 Git を紹介します • 理由: Explorer 統合なので、なんとなく扱いやすい。 • Windows
専用になってしまいますが・・・
まず準備
準備1) Git for Windows のインストール • https://git-scm.com/install/windows
準備2) Tortoise Git のインストール • https://tortoisegit.org/download/
準備3) Language Pack のインストール • https://tortoisegit.org/download/
準備4) 亀Git の設定 →日本語化 • デスクトップで右クリックしてポップアップメニューからたどります。
tortoisegit を使用しない場合(コマンドプロンプト) 準備5) 亀Git の設定 →Git (個人情報の設定) git config --global
user.name "username" git config --global user.email "
[email protected]
"
準備6) 亀Git の設定 →Win11 コンテキストメニュー • 「名前を変更」「ここにリポジトリを作成」「追加」にチェックします。
参考1) 用語解説 • リポジトリ • 今までの変更がすべて記録されたデータベース • ワークツリー • 作業中のファイルを展開(checkout)しているフォルダ
参考2) Git のおおまかな構造 .git リモート リポジトリ (履歴データベース) ワークツリー ローカル リポジトリ
(履歴データベース) clone commit push add .git ワークツリー ローカル リポジトリ (履歴データベース) clone commit push add 編集/変更 編集/変更
早速使ってみる
今回の想定環境 .git リモート リポジトリ (履歴データベース) C:¥Work ローカル リポジトリ (履歴データベース) clone
commit push add 編集/変更 ファイルサーバー (共用フォルダ) 作業PC ¥¥127.0.0.1¥nas¥ または C:¥repos¥ (*1) (*1) 127.0.0.1 の部分は、共有フォルダのコンピューター名または IP アドレスにしてください。 共有フォルダを使用せず作業 PC 内で試す場合は、C:¥repos などのフォルダを作成してください。
tortoisegit を使用しない場合(コマンドプロンプト) 1) リモートリポジトリの作成 • リポジトリフォルダ(¥¥127.0.0.1¥nas¥repos または C:¥repos)に、プロジェ クト名(今回は sample)の空のフォルダを作成して「ここにリポジトリを作成」
を選択する。 • Bare を生成、にチェックする。 pushd ¥¥127.0.0.1¥nas cd Z:¥repos¥sample git init --bare
tortoisegit を使用しない場合(コマンドプロンプト) 2) クローン • クローン先フォルダ(C:¥work)を作成し、右クリックして「クローン」を選択する。 cd C:¥work¥ git clone
Z:¥repos¥sample
2) クローンその2 • リポジトリと同じ名のフォルダ(C:¥work¥sample)ができて、さらにその中を 開くと .git フォルダができていれば OK • .git
があるフォルダがワークツリーのルート。
注意 • 一人で使うだけなら、リモートリポジトリを作る必要はなく、ローカルリポジト リだけで OK です。 • その場合は、 ワークツリーを作りたいフォルダ上(C:¥work¥sample)で、「ここ にリポジトリを作成」を選択後、Bare
にチェックせずに作成すれば OK です。 • .git フォルダが作成されていれば OK です。 (不可視フォルダなので設定によっては見えないかもしれませんが・・・) • クローンも必要ありません。
tortoisegit を使用しない場合(コマンドプロンプト) 3) 追加 • ファイルを作成後、右クリックして「追加」を選択する。 git add test.txt
tortoisegit を使用しない場合(コマンドプロンプト) 4) コミット • 作業フォルダでコミットを選択する。 git commit –m 'commit-message'
5) 修正 • 変化があるとアイコンが変わる。 変更前 変更後
tortoisegit を使用しない場合(コマンドプロンプト) 6) 差分 • ファイルを選択し、差分を選択する。 git diff test.txt
6) 差分その2
tortoisegit を使用しない場合(コマンドプロンプト) 7) 履歴(ログ)の確認 git log
tortoisegit を使用しない場合(コマンドプロンプト) 8) プッシュ git push
8) プッシュ (ログを確認)
今日のところはここまで • 質問あります?