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
740
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
340
VS CodeでもGitKraken
ryosms
0
1.5k
creating infra / 新サービスのインフラ作ってた話
ryosms
1
1.1k
量子コンピュータ完全に理解した / quantum computing perfect master
ryosms
1
310
CloudGarageでJIRAを運用した感想
ryosms
1
760
再考 エンジニアの装備 〜武器編〜 / Weapon for Engineer
ryosms
2
190
AndroidをJUnit4でやる / Using JUnit4 with Android
ryosms
0
740
Other Decks in Technology
See All in Technology
Go標準パッケージのI/O処理をながめる
matumoto
0
250
Claude Code のコード品質がばらつくので AI に品質保証させる仕組みを作った話 / A story about building a mechanism to have AI ensure quality, because the code quality from Claude Code was inconsistent
nrslib
13
8.7k
わからなくて良いなら、わからなきゃだめなの?
kotaoue
1
370
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
280
SLI/SLO 導入で 避けるべきこと3選
yagikota
0
130
Google系サービスで文字起こしから勝手にカレンダーを埋めるエージェントを作った話
risatube
0
200
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
4
3.1k
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
410
ソフトバンク流!プラットフォームエンジニアリング実現へのアプローチ
sbtechnight
1
230
2026年もソフトウェアサプライチェーンのリスクに立ち向かうために / Product Security Square #3
flatt_security
1
710
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
250
Escape from Excel方眼紙 ~マークダウンで繋ぐ、人とAIの架け橋~ /nikkei-tech-talk44
nikkei_engineer_recruiting
0
110
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
Site-Speed That Sticks
csswizardry
13
1.1k
Embracing the Ebb and Flow
colly
88
5k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
160
Statistics for Hackers
jakevdp
799
230k
Designing for Timeless Needs
cassininazir
0
170
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.7k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
110
Navigating Team Friction
lara
192
16k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
75
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
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!