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
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
320
VS CodeでもGitKraken
ryosms
0
1.5k
creating infra / 新サービスのインフラ作ってた話
ryosms
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
社内お問い合わせBotの仕組みと学び
nish01
1
510
英語は話せません!それでも海外チームと信頼関係を作るため、対話を重ねた2ヶ月間のまなび
niioka_97
0
130
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
110
Why Governance Matters: The Key to Reducing Risk Without Slowing Down
sarahjwells
0
120
これがLambdaレス時代のChatOpsだ!実例で学ぶAmazon Q Developerカスタムアクション活用法
iwamot
PRO
4
170
PLaMoの事後学習を支える技術 / PFN LLMセミナー
pfn
PRO
9
4k
10年の共創が示す、これからの開発者と企業の関係 ~ Crossroad
soracom
PRO
1
640
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
7
3.9k
ガバメントクラウド(AWS)へのデータ移行戦略の立て方【虎の巻】 / 20251011 Mitsutosi Matsuo
shift_evolve
PRO
2
170
自動テストのコストと向き合ってみた
qa
0
200
AWS Top Engineer、浮いてませんか? / As an AWS Top Engineer, Are You Out of Place?
yuj1osm
2
170
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
100
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Raft: Consensus for Rubyists
vanstee
139
7.1k
A designer walks into a library…
pauljervisheath
209
24k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
A Tale of Four Properties
chriscoyier
160
23k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Mobile First: as difficult as doing things right
swwweet
224
10k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Building Applications with DynamoDB
mza
96
6.7k
KATA
mclloyd
32
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.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!