SlideShare ist ein Scribd-Unternehmen logo
1 von 45
TC HI NG
S WI
   TO  G IT


            by Matthew McCullough
              Ambient Ideas, LLC
I    S ubv ers ion

    20 00
I   Pr oductiv ity
I   Git
LICITY
SIMP
git -scm.org
put binaries on your   $PATH
cd
to a root of where you will store the repository
git init
 	 	 	 and a new repository is created
	 	 	 in the current directory
create some files to be tracked




    git add .
	 and they are staged for committing
Staged?
Staged?
when satisfied with the files you’ve staged




    git commit
and they are transactionally stored into the repo
Git Going at JavaZone 2010
SP E E D
etterthanx.com
w hygitisb
Init
                  0.56s




 0.02s
git init     svnadmin create

                          data from http://whygitisbetterthanx.com/#git-is-fast
Diff
                  12.21s




 0.55s
git diff          svn diff

                             data from http://whygitisbetterthanx.com/#git-is-fast
Branch

              3.16s




  0.08s
git branch   svn copy

                        data from http://whygitisbetterthanx.com/#git-is-fast
Tag

                 2.30s




0.06s
git tag         svn copy

                           data from http://whygitisbetterthanx.com/#git-is-fast
Status
               2.26s




  0.47s


git status   svn status

                          data from http://whygitisbetterthanx.com/#git-is-fast
BILITY
 OMPATI
C
...it would be nice
if Git worked  with SVN
git svn clone
	 	 	 and the entire Subversion history is
      replicated as a Git repository
git svn dcommit
	 	 	 and your Git commits are transactionally
      replayed to the Subversion server
NECT ED
  IS CON
D
Chained to a
    network
more available connectivity
more demand to work
   without connectivity
Which Git commands run offline?

    all of them!
‣   git status
‣   git branch
‣   git log
‣   git revert
‣   git blame
‣git reset
‣git clean
‣ git merge
‣ git remote
‣git pull
‣git push
‣ git fsck
‣ git repack
Git Going at JavaZone 2010
RATI ON
    OL LA BO
C
git push
 	 	 	 and the missing objects are copied
	 	    to a local or remote host
git pull
 	 	 	 and the missing objects are copied
	 	    from a local or remote host
gitserve .
	 	 	 and the repository(ies) are
      shared on the network via
      the git:// protocol
U S CL E
M
Bisect
when the unit tests are broken




    git bisect
and find the culprit
if you forget when a constant was added




    git grep
and find the commit that added it
GitHub.com
Git Going at JavaZone 2010
NG
        HIE D
S WI TC
   TO  G IT

             by Matthew McCullough
                Ambient Ideas, LLC
            matthewm@ambientideas.com
Credits
•   Ferrari: http://flic.kr/p/7wL8zV

•   Ferrari: http://flic.kr/p/3akVWt

•   Ferrari: http://flic.kr/p/4bDjbF

•   Ferrari: http://flic.kr/p/7Ki31g

•   Ferrari: http://flic.kr/p/7xPC9E

•   Ferrari: http://flic.kr/p/4x9q4g

•   Knife: http://www.flickr.com/photos/36314420@N03/3422572002/

Weitere ähnliche Inhalte

Was ist angesagt?

Version Control with Git
Version Control with GitVersion Control with Git
Version Control with GitLuigi De Russis
 
Git - The Incomplete Introduction
Git - The Incomplete IntroductionGit - The Incomplete Introduction
Git - The Incomplete Introductionrschwietzke
 
Git Basics at Rails Underground
Git Basics at Rails UndergroundGit Basics at Rails Underground
Git Basics at Rails UndergroundAriejan de Vroom
 
SCMBC闇LT資料
SCMBC闇LT資料SCMBC闇LT資料
SCMBC闇LT資料bleis tift
 
Git: basic to advanced
Git: basic to advancedGit: basic to advanced
Git: basic to advancedYodalee
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHubRick Umali
 
News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26msohn
 
Git Basics - RubyFest 2009
Git Basics - RubyFest 2009Git Basics - RubyFest 2009
Git Basics - RubyFest 2009Ariejan de Vroom
 
Learn Git Fundamentals
Learn Git FundamentalsLearn Git Fundamentals
Learn Git FundamentalsJatin Sharma
 
Git and git workflow best practice
Git and git workflow best practiceGit and git workflow best practice
Git and git workflow best practiceMajid Hosseini
 
#3 - Git - Branching e Merging
#3 - Git - Branching e Merging#3 - Git - Branching e Merging
#3 - Git - Branching e MergingRodrigo Branas
 
#5 - Git - Contribuindo com um repositório remoto
#5 - Git - Contribuindo com um repositório remoto#5 - Git - Contribuindo com um repositório remoto
#5 - Git - Contribuindo com um repositório remotoRodrigo Branas
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewRueful Robin
 
Git for debugging (a.k.a Code archaeology)
Git for debugging (a.k.a Code archaeology)Git for debugging (a.k.a Code archaeology)
Git for debugging (a.k.a Code archaeology)Riaan Cornelius
 
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleVersion Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleGaurav Kumar Garg
 

Was ist angesagt? (20)

Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 
Git - The Incomplete Introduction
Git - The Incomplete IntroductionGit - The Incomplete Introduction
Git - The Incomplete Introduction
 
Git Basics at Rails Underground
Git Basics at Rails UndergroundGit Basics at Rails Underground
Git Basics at Rails Underground
 
Git
GitGit
Git
 
Git in 5 Minutes
Git in 5 MinutesGit in 5 Minutes
Git in 5 Minutes
 
SCMBC闇LT資料
SCMBC闇LT資料SCMBC闇LT資料
SCMBC闇LT資料
 
Git
GitGit
Git
 
Git: basic to advanced
Git: basic to advancedGit: basic to advanced
Git: basic to advanced
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26
 
Git Basics - RubyFest 2009
Git Basics - RubyFest 2009Git Basics - RubyFest 2009
Git Basics - RubyFest 2009
 
Learn Git Fundamentals
Learn Git FundamentalsLearn Git Fundamentals
Learn Git Fundamentals
 
Git Started!
Git Started!Git Started!
Git Started!
 
Git and git workflow best practice
Git and git workflow best practiceGit and git workflow best practice
Git and git workflow best practice
 
#3 - Git - Branching e Merging
#3 - Git - Branching e Merging#3 - Git - Branching e Merging
#3 - Git - Branching e Merging
 
#5 - Git - Contribuindo com um repositório remoto
#5 - Git - Contribuindo com um repositório remoto#5 - Git - Contribuindo com um repositório remoto
#5 - Git - Contribuindo com um repositório remoto
 
Presentacion git
Presentacion gitPresentacion git
Presentacion git
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Git for debugging (a.k.a Code archaeology)
Git for debugging (a.k.a Code archaeology)Git for debugging (a.k.a Code archaeology)
Git for debugging (a.k.a Code archaeology)
 
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleVersion Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an example
 

Andere mochten auch

Encryption Boot Camp at JavaZone 2010
Encryption Boot Camp at JavaZone 2010Encryption Boot Camp at JavaZone 2010
Encryption Boot Camp at JavaZone 2010Matthew McCullough
 
Encryption Boot Camp at Øredev
Encryption Boot Camp at ØredevEncryption Boot Camp at Øredev
Encryption Boot Camp at ØredevMatthew McCullough
 
Groovy-er Desktop Applications With Griffon
Groovy-er Desktop Applications With GriffonGroovy-er Desktop Applications With Griffon
Groovy-er Desktop Applications With GriffonMatthew McCullough
 
Transylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsTransylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsMatthew McCullough
 
Git Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh MyGit Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh MyMatthew McCullough
 
Migrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHubMigrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHubMatthew McCullough
 
Cascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUGCascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUGMatthew McCullough
 
Build Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGBuild Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGMatthew McCullough
 
Using Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge InteractiveUsing Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge InteractiveMatthew McCullough
 
การพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียน
การพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียนการพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียน
การพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียนKruKaiNui
 
Lugares turisticos de el salvador
Lugares turisticos de el salvadorLugares turisticos de el salvador
Lugares turisticos de el salvadorkaroapex
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Twinsburg siding 888 778 0212
Twinsburg  siding 888 778 0212Twinsburg  siding 888 778 0212
Twinsburg siding 888 778 0212hansons0588
 
Ppt uas admin verika dian
Ppt uas admin verika dianPpt uas admin verika dian
Ppt uas admin verika dianvey_riecha
 

Andere mochten auch (20)

Encryption Boot Camp at JavaZone 2010
Encryption Boot Camp at JavaZone 2010Encryption Boot Camp at JavaZone 2010
Encryption Boot Camp at JavaZone 2010
 
Encryption Boot Camp at Øredev
Encryption Boot Camp at ØredevEncryption Boot Camp at Øredev
Encryption Boot Camp at Øredev
 
Adam Smith Builds an App
Adam Smith Builds an AppAdam Smith Builds an App
Adam Smith Builds an App
 
Groovy-er Desktop Applications With Griffon
Groovy-er Desktop Applications With GriffonGroovy-er Desktop Applications With Griffon
Groovy-er Desktop Applications With Griffon
 
Transylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsTransylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting Announcements
 
Lean Fluffy Startups
Lean Fluffy StartupsLean Fluffy Startups
Lean Fluffy Startups
 
Git Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh MyGit Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh My
 
Migrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHubMigrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHub
 
Cascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUGCascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUG
 
Build Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGBuild Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUG
 
Using Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge InteractiveUsing Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge Interactive
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
 
Maven 3.0 at Øredev
Maven 3.0 at ØredevMaven 3.0 at Øredev
Maven 3.0 at Øredev
 
Then Our Buildings Shape Us
Then Our Buildings Shape UsThen Our Buildings Shape Us
Then Our Buildings Shape Us
 
การพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียน
การพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียนการพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียน
การพัฒนาหลักสูตรสถานศึกษาที่เน้น อาเซียน และการจัดการเรียนรู้เกี่ยวกับ อาเซียน
 
Lugares turisticos de el salvador
Lugares turisticos de el salvadorLugares turisticos de el salvador
Lugares turisticos de el salvador
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Twinsburg siding 888 778 0212
Twinsburg  siding 888 778 0212Twinsburg  siding 888 778 0212
Twinsburg siding 888 778 0212
 
68b21dddcfd596977f43060fc4f45a34
68b21dddcfd596977f43060fc4f45a3468b21dddcfd596977f43060fc4f45a34
68b21dddcfd596977f43060fc4f45a34
 
Ppt uas admin verika dian
Ppt uas admin verika dianPpt uas admin verika dian
Ppt uas admin verika dian
 

Ähnlich wie Git Going at JavaZone 2010

Git Started With Git
Git Started With GitGit Started With Git
Git Started With GitNick Quaranto
 
Using Git as your VCS with Bioconductor
Using Git as your VCS with BioconductorUsing Git as your VCS with Bioconductor
Using Git as your VCS with Bioconductortimyates
 
Git 入门与实践
Git 入门与实践Git 入门与实践
Git 入门与实践Terry Wang
 
Git 入门 与 实践
Git 入门 与 实践Git 入门 与 实践
Git 入门 与 实践Terry Wang
 
Version Control and Git - GitHub Workshop
Version Control and Git - GitHub WorkshopVersion Control and Git - GitHub Workshop
Version Control and Git - GitHub WorkshopAll Things Open
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control SystemKMS Technology
 
インフラエンジニアのためのGit入門
インフラエンジニアのためのGit入門インフラエンジニアのためのGit入門
インフラエンジニアのためのGit入門Kouhei Maeda
 
Introduction to Git.pptx
Introduction to Git.pptxIntroduction to Git.pptx
Introduction to Git.pptxgdscuds
 

Ähnlich wie Git Going at JavaZone 2010 (20)

Git and git hub
Git and git hubGit and git hub
Git and git hub
 
How to use git without rage
How to use git without rageHow to use git without rage
How to use git without rage
 
Git Started With Git
Git Started With GitGit Started With Git
Git Started With Git
 
Using Git as your VCS with Bioconductor
Using Git as your VCS with BioconductorUsing Git as your VCS with Bioconductor
Using Git as your VCS with Bioconductor
 
Git
GitGit
Git
 
Git Heaven with Wakanda
Git Heaven with WakandaGit Heaven with Wakanda
Git Heaven with Wakanda
 
Magie di git
Magie di gitMagie di git
Magie di git
 
Wokshop de Git
Wokshop de Git Wokshop de Git
Wokshop de Git
 
Git
GitGit
Git
 
Git 入门与实践
Git 入门与实践Git 入门与实践
Git 入门与实践
 
Git 入门 与 实践
Git 入门 与 实践Git 入门 与 实践
Git 入门 与 实践
 
Git'in in 15
Git'in in 15Git'in in 15
Git'in in 15
 
Git Tech Talk
Git  Tech TalkGit  Tech Talk
Git Tech Talk
 
Version Control and Git - GitHub Workshop
Version Control and Git - GitHub WorkshopVersion Control and Git - GitHub Workshop
Version Control and Git - GitHub Workshop
 
Git'in on Windows
Git'in on WindowsGit'in on Windows
Git'in on Windows
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
 
インフラエンジニアのためのGit入門
インフラエンジニアのためのGit入門インフラエンジニアのためのGit入門
インフラエンジニアのためのGit入門
 
Introduction to Git.pptx
Introduction to Git.pptxIntroduction to Git.pptx
Introduction to Git.pptx
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git presentation
Git presentationGit presentation
Git presentation
 

Mehr von Matthew McCullough

Mehr von Matthew McCullough (18)

All About GitHub Pull Requests
All About GitHub Pull RequestsAll About GitHub Pull Requests
All About GitHub Pull Requests
 
Git's Filter Branch Command
Git's Filter Branch CommandGit's Filter Branch Command
Git's Filter Branch Command
 
Git and GitHub at the San Francisco JUG
 Git and GitHub at the San Francisco JUG Git and GitHub at the San Francisco JUG
Git and GitHub at the San Francisco JUG
 
Finding Things in Git
Finding Things in GitFinding Things in Git
Finding Things in Git
 
Git and GitHub for RallyOn
Git and GitHub for RallyOnGit and GitHub for RallyOn
Git and GitHub for RallyOn
 
Git Notes and GitHub
Git Notes and GitHubGit Notes and GitHub
Git Notes and GitHub
 
Git Going for the Transylvania JUG
Git Going for the Transylvania JUGGit Going for the Transylvania JUG
Git Going for the Transylvania JUG
 
Game Theory for Software Developers at the Boulder JUG
Game Theory for Software Developers at the Boulder JUGGame Theory for Software Developers at the Boulder JUG
Game Theory for Software Developers at the Boulder JUG
 
JQuery Mobile
JQuery MobileJQuery Mobile
JQuery Mobile
 
R Data Analysis Software
R Data Analysis SoftwareR Data Analysis Software
R Data Analysis Software
 
Please, Stop Using Git
Please, Stop Using GitPlease, Stop Using Git
Please, Stop Using Git
 
Dr. Strangedev
Dr. StrangedevDr. Strangedev
Dr. Strangedev
 
Jenkins for One
Jenkins for OneJenkins for One
Jenkins for One
 
Finding Clojure
Finding ClojureFinding Clojure
Finding Clojure
 
Semantic Rubrication
Semantic RubricationSemantic Rubrication
Semantic Rubrication
 
How a Cupsfilter Made a Hard Web Conversion Easier
How a Cupsfilter Made a Hard Web Conversion EasierHow a Cupsfilter Made a Hard Web Conversion Easier
How a Cupsfilter Made a Hard Web Conversion Easier
 
Git Going with DVCS v1.6.0
Git Going with DVCS v1.6.0Git Going with DVCS v1.6.0
Git Going with DVCS v1.6.0
 
Advanced Encryption on the JVM v0.2.8
Advanced Encryption on the JVM v0.2.8Advanced Encryption on the JVM v0.2.8
Advanced Encryption on the JVM v0.2.8
 

Kürzlich hochgeladen

How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfTechSoup
 
General views of Histopathology and step
General views of Histopathology and stepGeneral views of Histopathology and step
General views of Histopathology and stepobaje godwin sunday
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxraviapr7
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxEduSkills OECD
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesMohammad Hassany
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17Celine George
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 

Kürzlich hochgeladen (20)

How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
General views of Histopathology and step
General views of Histopathology and stepGeneral views of Histopathology and step
General views of Histopathology and step
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptx
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming Classes
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 

Git Going at JavaZone 2010

  • 1. TC HI NG S WI TO G IT by Matthew McCullough Ambient Ideas, LLC
  • 2. I S ubv ers ion 20 00
  • 3. I Pr oductiv ity
  • 4. I Git
  • 7. put binaries on your $PATH
  • 8. cd to a root of where you will store the repository
  • 9. git init and a new repository is created in the current directory
  • 10. create some files to be tracked git add . and they are staged for committing
  • 13. when satisfied with the files you’ve staged git commit and they are transactionally stored into the repo
  • 15. SP E E D
  • 17. Init 0.56s 0.02s git init svnadmin create data from http://whygitisbetterthanx.com/#git-is-fast
  • 18. Diff 12.21s 0.55s git diff svn diff data from http://whygitisbetterthanx.com/#git-is-fast
  • 19. Branch 3.16s 0.08s git branch svn copy data from http://whygitisbetterthanx.com/#git-is-fast
  • 20. Tag 2.30s 0.06s git tag svn copy data from http://whygitisbetterthanx.com/#git-is-fast
  • 21. Status 2.26s 0.47s git status svn status data from http://whygitisbetterthanx.com/#git-is-fast
  • 23. ...it would be nice if Git worked with SVN
  • 24. git svn clone and the entire Subversion history is replicated as a Git repository
  • 25. git svn dcommit and your Git commits are transactionally replayed to the Subversion server
  • 26. NECT ED IS CON D
  • 27. Chained to a network
  • 29. more demand to work without connectivity
  • 30. Which Git commands run offline? all of them!
  • 31. git status ‣ git branch ‣ git log ‣ git revert ‣ git blame
  • 32. ‣git reset ‣git clean ‣ git merge ‣ git remote ‣git pull ‣git push ‣ git fsck ‣ git repack
  • 34. RATI ON OL LA BO C
  • 35. git push and the missing objects are copied to a local or remote host
  • 36. git pull and the missing objects are copied from a local or remote host
  • 37. gitserve . and the repository(ies) are shared on the network via the git:// protocol
  • 38. U S CL E M
  • 40. when the unit tests are broken git bisect and find the culprit
  • 41. if you forget when a constant was added git grep and find the commit that added it
  • 44. NG HIE D S WI TC TO G IT by Matthew McCullough Ambient Ideas, LLC matthewm@ambientideas.com
  • 45. Credits • Ferrari: http://flic.kr/p/7wL8zV • Ferrari: http://flic.kr/p/3akVWt • Ferrari: http://flic.kr/p/4bDjbF • Ferrari: http://flic.kr/p/7Ki31g • Ferrari: http://flic.kr/p/7xPC9E • Ferrari: http://flic.kr/p/4x9q4g • Knife: http://www.flickr.com/photos/36314420@N03/3422572002/