Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Git GUI Client
Search
ryosms
November 30, 2019
Technology
3
710
Intro to Git GUI Client
2019/11/30 @合同勉強会 in 大都会岡山
ryosms
November 30, 2019
Tweet
Share
More Decks by ryosms
See All by ryosms
JetBrains Plugins / IDEと香辛料
ryosms
0
310
VS CodeでもGitKraken
ryosms
0
1.4k
creating infra / 新サービスのインフラ作ってた話
ryosms
1
1k
量子コンピュータ完全に理解した / quantum computing perfect master
ryosms
1
280
CloudGarageでJIRAを運用した感想
ryosms
1
740
再考 エンジニアの装備 〜武器編〜 / Weapon for Engineer
ryosms
2
180
AndroidをJUnit4でやる / Using JUnit4 with Android
ryosms
0
720
Other Decks in Technology
See All in Technology
怖くない!はじめてのClaude Code
shinya337
0
400
Sansanのデータプロダクトマネジメントのアプローチ
sansantech
PRO
0
160
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
300
Lakebaseを使ったAIエージェントを実装してみる
kameitomohiro
0
130
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
340
KubeCon + CloudNativeCon Japan 2025 Recap
ren510dev
1
390
さくらのIaaS基盤のモニタリングとOpenTelemetry/OSC Hokkaido 2025
fujiwara3
3
450
品質と速度の両立:生成AI時代の品質保証アプローチ
odasho
1
370
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
320
PO初心者が考えた ”POらしさ”
nb_rady
0
210
Lazy application authentication with Tailscale
bluehatbrit
0
210
AI エージェントと考え直すデータ基盤
na0
1
160
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Writing Fast Ruby
sferik
628
62k
GitHub's CSS Performance
jonrohan
1031
460k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
690
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
How to Ace a Technical Interview
jacobian
278
23k
A better future with KSS
kneath
238
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
A Tale of Four Properties
chriscoyier
160
23k
Transcript
Intro to Git GUI Client @合同勉強会 in 大都会岡山 -2019 Winter-
INTRODUCE MYSELF Ryo Sumasu @ryosms #gbdaitokai [Your Picture] I am
a GitKraken Ambassador, not a paid employee of GitKraken by Axosoft.
AJENDA: 意識の低いgitの始め方 CLI vs GUI GitKrakenの紹介 https://blog.axosoft.com/git-gui-vs-cli/ GitKraken Git GUI
vs the CLI
AJENDA: 意識の低いgitの始め方 CLI vs GUI GitKrakenの紹介 https://blog.axosoft.com/git-gui-vs-cli/ GitKraken Git GUI
vs the CLI
意識の低いgitの始め方 https://qiita.com/ryosms/items/2386eb9ed34b69b9b427 • 2013年5月にgitの布教を目的として投稿 • 「怖い人たちが色々と言ってるけど、そのあたりは丸っと無視して、 とりあえず使い始めてその便利さを体験してほしい」という思いで 作成 • 黒い画面が怖いならGUIツールを使おう
• 今でも大筋での意見は変わってない • 当時と比べてGitHubが一般的になったのでclone、pull/pushくらい は最初から使えたほうがいいかもしれない
AJENDA: 意識の低いgitの始め方 CLI vs GUI GitKrakenの紹介 https://blog.axosoft.com/git-gui-vs-cli/ GitKraken Git GUI
vs the CLI
someone at SNS GitはCLIで使って ナンボでしょ
CLIを選ぶ理由 https://dev.to/ben/on-gui-shaming-and-a-mountain-of-hot-takes-3oh0 • ITエンジニアとCLIは友達 • むしろ、恋人かもしれない • CLIを使いこなせて一人前 • CLIを使いこなすことは、コンピュータを使いこなしている感覚があ
る • GUIのツールだと自動化が難しい • GUIのツールを使うのは恥ずかしい
CLIよりGUIが向いているケース 例えばスマホ • アプリの起動方法が、アイコンをタップするのではなくコマンド 入力だったら? • 写真を撮るためにコマンド入力する必要があったら? • コマンドでツイートできるのであれば大歓迎かもしれませんが… 極端な例
GitKraken Git GUI vs the CLI Life is too short
to still be using the command line.
GUIのススメ Don’t GUI-shame
Dan Clarke blogger and co-organizer of .Net Oxford group I
certainly know Git very well, and honestly think I’m far faster and more efficient in a Git GUI than I could possibly be in the command line – and I’m certainly not slow in the CLI
GUIのススメ A common mantra for devs is “work smarter, not
harder.” There’s no reason GUIs should be the exception to this rule. https://blog.axosoft.com/git-gui-vs-cli/
AJENDA: 意識の低いgitの始め方 CLI vs GUI GitKrakenの紹介 https://blog.axosoft.com/git-gui-vs-cli/ GitKraken Git GUI
vs the CLI
Commit in wrong branch • 新機能を開発するのにfeatureブランチで作業したい • 間違えてmasterブランチで作業してコミットしてしまった • コミットをfeatureブランチに持っていきたい
• masterブランチをコミット前に戻したい
CLIの場合 Cherrypickが必要なケース
Commit in wrong branch • git log でCherrypick対象のコミットハッシュを調べる • git
switch でfeatureブランチに移動 • git cherry-pick でコミットをfeatureブランチに適用 • git switch でmasterブランチに移動 • git log でmasterを戻したいコミットのハッシュを調べる • git reset でmasterを復元
DEMO on GitKraken 時間がない場合は割愛
Commit in wrong branch • git log でCherrypick対象のコミットハッシュを調べる • git
switch ダブルクリックでfeatureブランチに移動 • git cherry-pick 右クリックでコミットをfeatureブランチに適用 • git switch ダブルクリックでmasterブランチに移動 • git log でmasterを戻したいコミットのハッシュを調べる • git reset 右クリックでmasterを復元
Rebase with Conflict リベースしたらコンフリクトしたのでリカバリーしたい
CLIの場合
Rebase with Conflict リベースしたらコンフリクトしたのでリカバリーしたい • git rebase でリベースを開始する • git
status でコンフリクトしたファイルを確認する • editor でコンフリクトした場所を修正する • git add でファイルの修正内容をstageする
Rebase with Conflict リベースしたらコンフリクトしたのでリカバリーしたい • git rebase でリベースを開始する • git
status でコンフリクトしたファイルを確認する • editor でコンフリクトした場所を修正する • git add でファイルの修正内容をstageする • git commit
Rebase with Conflict リベースしたらコンフリクトしたのでリカバリーしたい • git rebase でリベースを開始する • git
status でコンフリクトしたファイルを確認する • editor でコンフリクトした場所を修正する • git add でファイルの修正内容をstageする • git rebase --continue でリベースを再開する
DEMO on GitKraken 時間がない場合は割愛
Rebase with Conflict https://www.youtube.com/watch?v=-3yqteu-pLM featureブランチで作業中にmasterの内容を取り込む場合 • git rebase ブランチをドラッグしてリベースを開始する •
git status でコンフリクトしたファイルを確認する • editor GitKrakenのマージツールでコンフリクトを修正する • git add でファイルの修正内容をstageする • git rebase --continue ボタンをクリックしてリベースを再開する
Life’s Too Short for the CLI Your Mouse is Your
Friend
https://www.gitkraken.com /invite/xKSqCHYi FREE GITKRAKEN ACCOUNT I am a GitKraken Ambassador,
not a paid employee of GitKraken by Axosoft. Use my referral URL to be entered to win a Nintendo Switch!