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
650
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
210
VS CodeでもGitKraken
ryosms
0
910
creating infra / 新サービスのインフラ作ってた話
ryosms
1
910
量子コンピュータ完全に理解した / quantum computing perfect master
ryosms
1
230
CloudGarageでJIRAを運用した感想
ryosms
1
670
再考 エンジニアの装備 〜武器編〜 / Weapon for Engineer
ryosms
2
180
AndroidをJUnit4でやる / Using JUnit4 with Android
ryosms
0
670
Other Decks in Technology
See All in Technology
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
160
Building Dashboards as a Hobby
egmc
0
210
20分で完全に理解するGrafanaダッシュボード
hamadakoji
3
630
20240418_Google ColabにLLMが搭載されたようなのでPython x データ分析の勉強方法を考えてみる
doradora09
0
130
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
210
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
920
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
250
ServiceNow Knowledge Learning Rise up
manarobot
0
210
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
250
VS CodeでAWSを操作しよう
smt7174
8
1.7k
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
220
Google Cloud Next '24でブログを10本書いた方法と勉強会を沸かせた方法
yasumuusan
0
300
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
456
32k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Automating Front-end Workflow
addyosmani
1356
200k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
BBQ
matthewcrist
80
8.8k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Into the Great Unknown - MozCon
thekraken
10
990
Ruby is Unlike a Banana
tanoku
96
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
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!