Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
720
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
330
VS CodeでもGitKraken
ryosms
0
1.5k
creating infra / 新サービスのインフラ作ってた話
ryosms
1
1.1k
量子コンピュータ完全に理解した / quantum computing perfect master
ryosms
1
290
CloudGarageでJIRAを運用した感想
ryosms
1
750
再考 エンジニアの装備 〜武器編〜 / Weapon for Engineer
ryosms
2
190
AndroidをJUnit4でやる / Using JUnit4 with Android
ryosms
0
730
Other Decks in Technology
See All in Technology
eBPFとwaruiBPF
sat
PRO
4
2.5k
AWSを使う上で最低限知っておきたいセキュリティ研修を社内で実施した話 ~みんなでやるセキュリティ~
maimyyym
2
190
[JAWS-UG 横浜支部 #91]DevOps Agent vs CloudWatch Investigations -比較と実践-
sh_fk2
1
240
[CMU-DB-2025FALL] Apache Fluss - A Streaming Storage for Real-Time Lakehouse
jark
0
110
直接メモリアクセス
koba789
0
280
エンジニアリングマネージャー はじめての目標設定と評価
halkt
0
260
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
新 Security HubがついにGA!仕組みや料金を深堀り #AWSreInvent #regrowth / AWS Security Hub Advanced GA
masahirokawahara
1
1.5k
Security Diaries of an Open Source IAM
ahus1
0
130
意外とあった SQL Server 関連アップデート + Database Savings Plans
stknohg
PRO
0
290
ブロックテーマとこれからの WordPress サイト制作 / Toyama WordPress Meetup Vol.81
torounit
0
520
計算機科学をRubyと歩む 〜DFA型正規表現エンジンをつくる~
ydah
3
200
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
66k
Scaling GitHub
holman
464
140k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
RailsConf 2023
tenderlove
30
1.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Building Adaptive Systems
keathley
44
2.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
70k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
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!