SlideShare a Scribd company logo
1 of 74
Download to read offline
master
topic
$ git clone https://github.com/Joe-noh/motto_git
$ git checkout -b xxx-topic
$ vim test.rb
$ git commit -am 'modified'
$ git push origin xxx-topic
master
master
topic topic2
master
topic topic2
topic topic2
master
topic topic2
master
topic
master
topic
$ git checkout master
$ git pull origin master # master
$ git checkout xxx-topic
$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: modify test.rb
Using index info to reconstruct a base tree...
M test.rb
Falling back to patching base and 3-way merge...
1 class Hoge
2 <<<<<<< HEAD
3 def bar
4 =======
5 def baz
6 >>>>>>> master
7 end
8 end
NORMAL xxx-topic | test.rb
1 class Hoge
2 def bar
3 end
4 end
~
~
~
~
NORMAL xxx-topic | test.rb
$ vim test.rb
$ git add test.rb #
$ git rebase --continue
Applying: modify test.rb
topic
remote
local
topic
topic
topic
remote
local
--force-with-lease
topic(new)
master
topic
base master
topic topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
class Fuga
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
class Fuga
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
class Fuga
@v = 1
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
class Fuga
@v = 1
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
class Fuga
@v = 1
?
end
topic(new)
class Hoge
@v = 1
puts "C"
end
class Hoge
puts "A"
end
class Fuga
puts "B"
end
master base topic
class Fuga
@v = 1
?
end
topic(new)
topic(new)
master
topic
$ git checkout master
$ git pull origin master # master
$ git checkout xxx-topic
$ git merge master
Auto-merging test.rb
CONFLICT (content): Merge conflict in test.rb
Automatic merge failed; fix conflicts and then commit the result.
$ vim test.rb
$ git commit -a
1 Merge branch 'master' into xxx-topic
2
3 # Conflicts:
4 # test.rb
5 #
6 # ...
7 # ...
8 # ...
NORMAL xxx-topic | test.rb
$ git push origin xxx-topic
commit 25ce283d9d3c4da27c0226e19654b91c1baf06e3
Author: Joe-noh <honzawa.j@pepabo.com>
Date: Tue Jun 21 12:17:38 2016 +0900
commit f8263df7885c907e34b574524a7fc02702920d44
Author: Joe-noh <honzawa.j@pepabo.com>
Date: Tue Jun 21 12:16:28 2016 +0900
$ git revert 25ce283d #
[topic 1564168] Revert " "
1 file changed, 4 deletions(-)
commit 1564168380ec04480275ecd2b2ed9612001889fb
Author: Joe-noh <honzawa.j@pepabo.com>
Date: Tue Jun 21 12:58:14 2016 +0900
Revert " "
This reverts commit 25ce283d9d3c4da27c0226e19654b91c1baf06e3.
commit 25ce283d9d3c4da27c0226e19654b91c1baf06e3
Author: Joe-noh <honzawa.j@pepabo.com>
Date: Tue Jun 21 12:17:38 2016 +0900
$ git checkout master
$ git pull origin master # master
$ git checkout -b revert-topic #
$ git revert ?????? # revert
$ git push origin revert-topic #
commit 06a1792f1fb01b834d86514d15783eca4352606c
Merge: 97bf260 a392dd9
Author: Joe Honzawa <honzawa.j@pepabo.com>
Date: Mon Jun 20 19:46:10 2016 +0900
Merge pull request #2 from Joe-noh/topic
$ git revert 06a1792
$ git revert 06a1792
error: Commit 06a1792… is a merge but no -m option was given.
fatal: revert failed
$ git revert 06a1792
error: Commit 06a1792… is a merge but no -m option was given.
fatal: revert failed
-m
master
topic
$ git revert 06a1792 -m 1
[topic 3d621f4] Revert "Merge pull request #2 from Joe-noh/topic"
1 file changed, 4 deletions(-)
$ git revert 06a1792 -m 1
[topic 3d621f4] Revert "Merge pull request #2 from Joe-noh/topic"
1 file changed, 4 deletions(-)
$ git push origin revert-topic
git rebase -i <commit hash>
git cherry-pick <commit hash>
master rebase
master merge
git revert <commit>
git revert <merge-commit> -m 1
もっとgit

More Related Content

What's hot

Ruby 2.0 at the Ruby drink-up of Sophia, February 2013
Ruby 2.0 at the Ruby drink-up of Sophia, February 2013Ruby 2.0 at the Ruby drink-up of Sophia, February 2013
Ruby 2.0 at the Ruby drink-up of Sophia, February 2013rivierarb
 
Git Tutorial Yang Yang
Git Tutorial Yang YangGit Tutorial Yang Yang
Git Tutorial Yang YangYang Yang
 
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - LudwigsburgNews from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburgmsohn
 
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]Carina C. Zona
 
How to become a Git power user
How to become a Git power userHow to become a Git power user
How to become a Git power userDeveo
 
Use of django at jolt online v3
Use of django at jolt online v3Use of django at jolt online v3
Use of django at jolt online v3Jaime Buelta
 
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with AnsibleSimple Tips and Tricks with Ansible
Simple Tips and Tricks with AnsibleKeith Resar
 
Annette g09 job file for cyclohexene for niobium
Annette g09 job file for cyclohexene for niobiumAnnette g09 job file for cyclohexene for niobium
Annette g09 job file for cyclohexene for niobiumDr Robert Craig PhD
 
Git branching model_for_tap_team
Git branching model_for_tap_teamGit branching model_for_tap_team
Git branching model_for_tap_teamGrzegorz Wilczynski
 
Annette g09 job file for cyclohexene
Annette g09 job file for cyclohexeneAnnette g09 job file for cyclohexene
Annette g09 job file for cyclohexeneDr Robert Craig PhD
 
Git basic and workflow
Git basic and workflowGit basic and workflow
Git basic and workflowbuikhanhbk
 
Bend time to your will with git
Bend time to your will with gitBend time to your will with git
Bend time to your will with gitChris Tankersley
 

What's hot (20)

Get on with git
Get on with gitGet on with git
Get on with git
 
Formaldehye2 job program
Formaldehye2  job programFormaldehye2  job program
Formaldehye2 job program
 
Ruby 2.0 at the Ruby drink-up of Sophia, February 2013
Ruby 2.0 at the Ruby drink-up of Sophia, February 2013Ruby 2.0 at the Ruby drink-up of Sophia, February 2013
Ruby 2.0 at the Ruby drink-up of Sophia, February 2013
 
Git
GitGit
Git
 
git - the basics
git - the basicsgit - the basics
git - the basics
 
Git Tutorial Yang Yang
Git Tutorial Yang YangGit Tutorial Yang Yang
Git Tutorial Yang Yang
 
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - LudwigsburgNews from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
 
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
 
How to become a Git power user
How to become a Git power userHow to become a Git power user
How to become a Git power user
 
Loading...git
Loading...gitLoading...git
Loading...git
 
Use of django at jolt online v3
Use of django at jolt online v3Use of django at jolt online v3
Use of django at jolt online v3
 
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with AnsibleSimple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
 
GoLang & GoatCore
GoLang & GoatCore GoLang & GoatCore
GoLang & GoatCore
 
Annette g09 job file for cyclohexene for niobium
Annette g09 job file for cyclohexene for niobiumAnnette g09 job file for cyclohexene for niobium
Annette g09 job file for cyclohexene for niobium
 
Git branching model_for_tap_team
Git branching model_for_tap_teamGit branching model_for_tap_team
Git branching model_for_tap_team
 
Curcumin job file
Curcumin job fileCurcumin job file
Curcumin job file
 
Annette g09 job file for cyclohexene
Annette g09 job file for cyclohexeneAnnette g09 job file for cyclohexene
Annette g09 job file for cyclohexene
 
Org Beamer
Org BeamerOrg Beamer
Org Beamer
 
Git basic and workflow
Git basic and workflowGit basic and workflow
Git basic and workflow
 
Bend time to your will with git
Bend time to your will with gitBend time to your will with git
Bend time to your will with git
 

Similar to もっとgit

Get Good With Git
Get Good With GitGet Good With Git
Get Good With GitHoffman Lab
 
Version Control with Git for Beginners
Version Control with Git for BeginnersVersion Control with Git for Beginners
Version Control with Git for Beginnersbryanbibat
 
Git for beginner
Git for beginnerGit for beginner
Git for beginnerTrung Huynh
 
Git Distributed Version Control System
Git   Distributed Version Control SystemGit   Distributed Version Control System
Git Distributed Version Control SystemVictor Wong
 
Git Started With Git
Git Started With GitGit Started With Git
Git Started With GitNick Quaranto
 
Gitosis on Mac OS X Server
Gitosis on Mac OS X ServerGitosis on Mac OS X Server
Gitosis on Mac OS X ServerYasuhiro Asaka
 
Learning Git with Workflows
Learning Git with WorkflowsLearning Git with Workflows
Learning Git with WorkflowsMosky Liu
 
Introducción a git y GitHub
Introducción a git y GitHubIntroducción a git y GitHub
Introducción a git y GitHubLucas Videla
 
Git Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a BossGit Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a Bosstmacwilliam
 
GIT rozproszony system kontroli wersji
GIT rozproszony system kontroli wersjiGIT rozproszony system kontroli wersji
GIT rozproszony system kontroli wersji3camp
 
Introduction To Git Workshop
Introduction To Git WorkshopIntroduction To Git Workshop
Introduction To Git Workshopthemystic_ca
 
Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017
Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017
Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017Codemotion
 

Similar to もっとgit (20)

git internals
git internalsgit internals
git internals
 
Get Good With Git
Get Good With GitGet Good With Git
Get Good With Git
 
Git
GitGit
Git
 
Git basics
Git basicsGit basics
Git basics
 
Version Control with Git for Beginners
Version Control with Git for BeginnersVersion Control with Git for Beginners
Version Control with Git for Beginners
 
Git For Beginer
Git For BeginerGit For Beginer
Git For Beginer
 
Git for beginner
Git for beginnerGit for beginner
Git for beginner
 
Git Distributed Version Control System
Git   Distributed Version Control SystemGit   Distributed Version Control System
Git Distributed Version Control System
 
Git Started With Git
Git Started With GitGit Started With Git
Git Started With Git
 
Gitosis on Mac OS X Server
Gitosis on Mac OS X ServerGitosis on Mac OS X Server
Gitosis on Mac OS X Server
 
Learning Git with Workflows
Learning Git with WorkflowsLearning Git with Workflows
Learning Git with Workflows
 
Introducción a git y GitHub
Introducción a git y GitHubIntroducción a git y GitHub
Introducción a git y GitHub
 
Git walkthrough
Git walkthroughGit walkthrough
Git walkthrough
 
Git Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a BossGit Magic: Versioning Files like a Boss
Git Magic: Versioning Files like a Boss
 
GIT rozproszony system kontroli wersji
GIT rozproszony system kontroli wersjiGIT rozproszony system kontroli wersji
GIT rozproszony system kontroli wersji
 
Did you git yet?
Did you git yet?Did you git yet?
Did you git yet?
 
Git使用
Git使用Git使用
Git使用
 
Introduction To Git Workshop
Introduction To Git WorkshopIntroduction To Git Workshop
Introduction To Git Workshop
 
Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017
Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017
Nicola Iarocci - Git stories from the front line - Codemotion Milan 2017
 
Git and github 101
Git and github 101Git and github 101
Git and github 101
 

More from Joe_noh

パフォーマンス改善のためにやったこと・やらなかったこと
パフォーマンス改善のためにやったこと・やらなかったことパフォーマンス改善のためにやったこと・やらなかったこと
パフォーマンス改善のためにやったこと・やらなかったことJoe_noh
 
Vue.jsのユニットテスト
Vue.jsのユニットテストVue.jsのユニットテスト
Vue.jsのユニットテストJoe_noh
 
Vuexと入力フォーム
Vuexと入力フォームVuexと入力フォーム
Vuexと入力フォームJoe_noh
 
カラーミーAPIドキュメントの今後
カラーミーAPIドキュメントの今後カラーミーAPIドキュメントの今後
カラーミーAPIドキュメントの今後Joe_noh
 
サイクルOJTイントロダクション
サイクルOJTイントロダクションサイクルOJTイントロダクション
サイクルOJTイントロダクションJoe_noh
 
お産ウィークイントロダクション
お産ウィークイントロダクションお産ウィークイントロダクション
お産ウィークイントロダクションJoe_noh
 
モバイルアプリ研修イントロダクション
モバイルアプリ研修イントロダクションモバイルアプリ研修イントロダクション
モバイルアプリ研修イントロダクションJoe_noh
 
Webオペレーション研修イントロダクション
Webオペレーション研修イントロダクションWebオペレーション研修イントロダクション
Webオペレーション研修イントロダクションJoe_noh
 
Web開発研修イントロダクション
Web開発研修イントロダクションWeb開発研修イントロダクション
Web開発研修イントロダクションJoe_noh
 
リーンキャンバス
リーンキャンバスリーンキャンバス
リーンキャンバスJoe_noh
 
できないことはPortで外注
できないことはPortで外注できないことはPortで外注
できないことはPortで外注Joe_noh
 
DBにseedするライブラリつくった
DBにseedするライブラリつくったDBにseedするライブラリつくった
DBにseedするライブラリつくったJoe_noh
 
やってみた -URL外形監視-
やってみた -URL外形監視-やってみた -URL外形監視-
やってみた -URL外形監視-Joe_noh
 
Elixirだ 第6回
Elixirだ 第6回Elixirだ 第6回
Elixirだ 第6回Joe_noh
 
Elixirだ 第5回
Elixirだ 第5回Elixirだ 第5回
Elixirだ 第5回Joe_noh
 
Elixirだ 第4回
Elixirだ 第4回Elixirだ 第4回
Elixirだ 第4回Joe_noh
 
Elixirだ 第3回
Elixirだ 第3回Elixirだ 第3回
Elixirだ 第3回Joe_noh
 
Elixirだ 第2回
Elixirだ 第2回Elixirだ 第2回
Elixirだ 第2回Joe_noh
 
Elixirだ 第1回強化版 後半
Elixirだ 第1回強化版 後半Elixirだ 第1回強化版 後半
Elixirだ 第1回強化版 後半Joe_noh
 
Elixirだ 第1回強化版 前半
Elixirだ 第1回強化版 前半Elixirだ 第1回強化版 前半
Elixirだ 第1回強化版 前半Joe_noh
 

More from Joe_noh (20)

パフォーマンス改善のためにやったこと・やらなかったこと
パフォーマンス改善のためにやったこと・やらなかったことパフォーマンス改善のためにやったこと・やらなかったこと
パフォーマンス改善のためにやったこと・やらなかったこと
 
Vue.jsのユニットテスト
Vue.jsのユニットテストVue.jsのユニットテスト
Vue.jsのユニットテスト
 
Vuexと入力フォーム
Vuexと入力フォームVuexと入力フォーム
Vuexと入力フォーム
 
カラーミーAPIドキュメントの今後
カラーミーAPIドキュメントの今後カラーミーAPIドキュメントの今後
カラーミーAPIドキュメントの今後
 
サイクルOJTイントロダクション
サイクルOJTイントロダクションサイクルOJTイントロダクション
サイクルOJTイントロダクション
 
お産ウィークイントロダクション
お産ウィークイントロダクションお産ウィークイントロダクション
お産ウィークイントロダクション
 
モバイルアプリ研修イントロダクション
モバイルアプリ研修イントロダクションモバイルアプリ研修イントロダクション
モバイルアプリ研修イントロダクション
 
Webオペレーション研修イントロダクション
Webオペレーション研修イントロダクションWebオペレーション研修イントロダクション
Webオペレーション研修イントロダクション
 
Web開発研修イントロダクション
Web開発研修イントロダクションWeb開発研修イントロダクション
Web開発研修イントロダクション
 
リーンキャンバス
リーンキャンバスリーンキャンバス
リーンキャンバス
 
できないことはPortで外注
できないことはPortで外注できないことはPortで外注
できないことはPortで外注
 
DBにseedするライブラリつくった
DBにseedするライブラリつくったDBにseedするライブラリつくった
DBにseedするライブラリつくった
 
やってみた -URL外形監視-
やってみた -URL外形監視-やってみた -URL外形監視-
やってみた -URL外形監視-
 
Elixirだ 第6回
Elixirだ 第6回Elixirだ 第6回
Elixirだ 第6回
 
Elixirだ 第5回
Elixirだ 第5回Elixirだ 第5回
Elixirだ 第5回
 
Elixirだ 第4回
Elixirだ 第4回Elixirだ 第4回
Elixirだ 第4回
 
Elixirだ 第3回
Elixirだ 第3回Elixirだ 第3回
Elixirだ 第3回
 
Elixirだ 第2回
Elixirだ 第2回Elixirだ 第2回
Elixirだ 第2回
 
Elixirだ 第1回強化版 後半
Elixirだ 第1回強化版 後半Elixirだ 第1回強化版 後半
Elixirだ 第1回強化版 後半
 
Elixirだ 第1回強化版 前半
Elixirだ 第1回強化版 前半Elixirだ 第1回強化版 前半
Elixirだ 第1回強化版 前半
 

Recently uploaded

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

もっとgit

  • 1.
  • 2.
  • 4.
  • 5.
  • 6. $ git clone https://github.com/Joe-noh/motto_git $ git checkout -b xxx-topic $ vim test.rb $ git commit -am 'modified' $ git push origin xxx-topic
  • 8.
  • 9.
  • 10.
  • 11.
  • 16.
  • 19. $ git checkout master $ git pull origin master # master $ git checkout xxx-topic $ git rebase master First, rewinding head to replay your work on top of it... Applying: modify test.rb Using index info to reconstruct a base tree... M test.rb Falling back to patching base and 3-way merge...
  • 20. 1 class Hoge 2 <<<<<<< HEAD 3 def bar 4 ======= 5 def baz 6 >>>>>>> master 7 end 8 end NORMAL xxx-topic | test.rb
  • 21. 1 class Hoge 2 def bar 3 end 4 end ~ ~ ~ ~ NORMAL xxx-topic | test.rb
  • 22. $ vim test.rb $ git add test.rb # $ git rebase --continue Applying: modify test.rb
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 32.
  • 33.
  • 35.
  • 37. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic topic(new)
  • 38. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic topic(new)
  • 39. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic end topic(new)
  • 40. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic end topic(new)
  • 41. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic class Fuga end topic(new)
  • 42. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic class Fuga end topic(new)
  • 43. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic class Fuga @v = 1 end topic(new)
  • 44. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic class Fuga @v = 1 end topic(new)
  • 45. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic class Fuga @v = 1 ? end topic(new)
  • 46. class Hoge @v = 1 puts "C" end class Hoge puts "A" end class Fuga puts "B" end master base topic class Fuga @v = 1 ? end topic(new)
  • 48. $ git checkout master $ git pull origin master # master $ git checkout xxx-topic $ git merge master Auto-merging test.rb CONFLICT (content): Merge conflict in test.rb Automatic merge failed; fix conflicts and then commit the result. $ vim test.rb $ git commit -a
  • 49. 1 Merge branch 'master' into xxx-topic 2 3 # Conflicts: 4 # test.rb 5 # 6 # ... 7 # ... 8 # ... NORMAL xxx-topic | test.rb
  • 50. $ git push origin xxx-topic
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56. commit 25ce283d9d3c4da27c0226e19654b91c1baf06e3 Author: Joe-noh <honzawa.j@pepabo.com> Date: Tue Jun 21 12:17:38 2016 +0900 commit f8263df7885c907e34b574524a7fc02702920d44 Author: Joe-noh <honzawa.j@pepabo.com> Date: Tue Jun 21 12:16:28 2016 +0900
  • 57. $ git revert 25ce283d # [topic 1564168] Revert " " 1 file changed, 4 deletions(-)
  • 58. commit 1564168380ec04480275ecd2b2ed9612001889fb Author: Joe-noh <honzawa.j@pepabo.com> Date: Tue Jun 21 12:58:14 2016 +0900 Revert " " This reverts commit 25ce283d9d3c4da27c0226e19654b91c1baf06e3. commit 25ce283d9d3c4da27c0226e19654b91c1baf06e3 Author: Joe-noh <honzawa.j@pepabo.com> Date: Tue Jun 21 12:17:38 2016 +0900
  • 59.
  • 60.
  • 61. $ git checkout master $ git pull origin master # master $ git checkout -b revert-topic # $ git revert ?????? # revert $ git push origin revert-topic #
  • 62. commit 06a1792f1fb01b834d86514d15783eca4352606c Merge: 97bf260 a392dd9 Author: Joe Honzawa <honzawa.j@pepabo.com> Date: Mon Jun 20 19:46:10 2016 +0900 Merge pull request #2 from Joe-noh/topic
  • 63. $ git revert 06a1792
  • 64. $ git revert 06a1792 error: Commit 06a1792… is a merge but no -m option was given. fatal: revert failed
  • 65. $ git revert 06a1792 error: Commit 06a1792… is a merge but no -m option was given. fatal: revert failed -m
  • 66.
  • 68.
  • 69.
  • 70. $ git revert 06a1792 -m 1 [topic 3d621f4] Revert "Merge pull request #2 from Joe-noh/topic" 1 file changed, 4 deletions(-)
  • 71. $ git revert 06a1792 -m 1 [topic 3d621f4] Revert "Merge pull request #2 from Joe-noh/topic" 1 file changed, 4 deletions(-) $ git push origin revert-topic
  • 72. git rebase -i <commit hash> git cherry-pick <commit hash>
  • 73. master rebase master merge git revert <commit> git revert <merge-commit> -m 1