SlideShare a Scribd company logo
Git Can GIT make your life easier?  8/31/2010
Agenda About me Introduction to Git Demo Conclusions 8/31/2010 Inventive Designers – The output innovators 2
About me Nick Van den Bleeken R&D Manager at Inventive Designers Member of the XForms WG at W3C 8/31/2010 Inventive Designers – The output innovators 3
Survey Who is not using source control? SVN? CVS? Git? 8/31/2010 Inventive Designers – The output innovators 4
What is Git? Distributed Version Control System Scalable and Fast Non-linear, custom workflows Subversion-Style Workflow Integration Manager Workflow Dictator and Lieutenants Workflow … 8/31/2010 5 Inventive Designers – The output innovators
Git andEclipse EGit: Eclipse Team Provider for Git JGit: lightweight Java library implementing Git Eclipse is moving to Gitas SCM (ETA end 2010)  8/31/2010 6 Inventive Designers – The output innovators
Git vs SVN/CVS 8/31/2010 7 Inventive Designers – The output innovators Distributed (git) Centralized (CVS) Full local history Cheap local branching Fast Rebase patches easily Powerful merging No No Slow Patches go stale Merging is a pain
Git Basics (1) 8/31/2010 Inventive Designers – The output innovators 8 Stores data as snapshots, not differences (Images taken from http://progit.org/book)
Git Basics (2) Nearly every operation is local Git has integrity Git generally only adds data 8/31/2010 Inventive Designers – The output innovators 9
Git Basics (3) 8/31/2010 Inventive Designers – The output innovators 10 The staging area (Images taken from http://whygitisbetterthanx.com)
Git Typical usage 8/31/2010 Inventive Designers – The output innovators 11 Working directory Staging area Local repo remote repo git add git commit git push git fetch git checkout git merge
Branches and tags 8/31/2010 Inventive Designers – The output innovators 12 Branches Creating a branch is quick (write 41 bytes) Long running / Topic branches Tags Lightweight tag  branch that doesn’t change Annotated tag Check summed Tagger info Tagging message Optionally signed (GNU Privacy Guard) (Images taken from http://progit.org/book)
rebase merge Merging Git determines the best common ancestor to use for its merge base (different than CVS) 8/31/2010 Inventive Designers – The output innovators 13 (Images taken from http://progit.org/book)
rebase Merging Git determines the best common ancestor to use for its merge base (different than CVS) 9/1/2010 Inventive Designers – The output innovators 14 (Images taken from http://progit.org/book)
Inventive Designers – The output innovators Demo EGitand Gerrit 15
Conclusion Git is very powerful Git is scalable and fast Git supports convenient branching and merging All revisions of every file are locally available  Git is the feature SCM of Eclipse 8/31/2010 Inventive Designers – The output innovators 16
EGit Features 8/31/2010 Inventive Designers – The output innovators 17 ,[object Object]
git add
git status

More Related Content

What's hot

Open source
Open sourceOpen source
Open source
onaelmangabo
 
Git presentation
Git presentationGit presentation
Git presentation
Edson Celio
 
Session: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow WorkflowSession: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow Workflow
Midhun Mohanan
 
Github
GithubGithub
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
JasleenSondhi
 
Brush up on using github
Brush up on using githubBrush up on using github
Brush up on using github
Sebin Benjamin
 
Presentation1
Presentation1Presentation1
Presentation1
mohammed khalid
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
Rick Umali
 
Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013
Sunny Sharma
 
Git strategies for DevOps
Git strategies for DevOpsGit strategies for DevOps
Git strategies for DevOps
Ahmad Iqbal Ali
 
Github:fi Presentation
Github:fi PresentationGithub:fi Presentation
Github:fi Presentation
PTIHPA
 
Git and GitGHub Basics
Git and GitGHub BasicsGit and GitGHub Basics
Git and GitGHub Basics
Aswin Barath
 
Git version control
Git version controlGit version control
Git version control
Calloway Green Ltd
 
Github
GithubGithub
Github
siva sandeep
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Github 101 An Adventurer's Guide To Open Source
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
 
GitHub Introduction
GitHub IntroductionGitHub Introduction
GitHub Introduction
VIA Next Innovators
 
Git & github
Git & githubGit & github
Git & github
Mohamed Abdallah
 
Gerrit & Jenkins Workflow: An Integrated CI Demonstration
Gerrit & Jenkins Workflow: An Integrated CI DemonstrationGerrit & Jenkins Workflow: An Integrated CI Demonstration
Gerrit & Jenkins Workflow: An Integrated CI Demonstration
vanoorts
 
GITHUB Integration
GITHUB IntegrationGITHUB Integration
GITHUB Integration
David Ibia
 

What's hot (20)

Open source
Open sourceOpen source
Open source
 
Git presentation
Git presentationGit presentation
Git presentation
 
Session: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow WorkflowSession: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow Workflow
 
Github
GithubGithub
Github
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Brush up on using github
Brush up on using githubBrush up on using github
Brush up on using github
 
Presentation1
Presentation1Presentation1
Presentation1
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013
 
Git strategies for DevOps
Git strategies for DevOpsGit strategies for DevOps
Git strategies for DevOps
 
Github:fi Presentation
Github:fi PresentationGithub:fi Presentation
Github:fi Presentation
 
Git and GitGHub Basics
Git and GitGHub BasicsGit and GitGHub Basics
Git and GitGHub Basics
 
Git version control
Git version controlGit version control
Git version control
 
Github
GithubGithub
Github
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Github 101 An Adventurer's Guide To Open Source
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
 
GitHub Introduction
GitHub IntroductionGitHub Introduction
GitHub Introduction
 
Git & github
Git & githubGit & github
Git & github
 
Gerrit & Jenkins Workflow: An Integrated CI Demonstration
Gerrit & Jenkins Workflow: An Integrated CI DemonstrationGerrit & Jenkins Workflow: An Integrated CI Demonstration
Gerrit & Jenkins Workflow: An Integrated CI Demonstration
 
GITHUB Integration
GITHUB IntegrationGITHUB Integration
GITHUB Integration
 

Similar to Git and eclipse

Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
Krunal Doshi
 
git Introduction.pptx
git Introduction.pptxgit Introduction.pptx
git Introduction.pptx
PrakharYadav58
 
Git
GitGit
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
PRIYATHAMDARISI
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
Chen-Tien Tsai
 
GDSC23 - Github Workshop Presentation.pptx
GDSC23 - Github Workshop Presentation.pptxGDSC23 - Github Workshop Presentation.pptx
GDSC23 - Github Workshop Presentation.pptx
ChitreshGyanani1
 
Git workshop 33degree 2011 krakow
Git workshop 33degree 2011 krakowGit workshop 33degree 2011 krakow
Git workshop 33degree 2011 krakow
Luca Milanesio
 
Git in the European Parliament
Git in the European ParliamentGit in the European Parliament
Git in the European Parliament
Jean-Pol Landrain
 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
Ahmed Taha
 
Gitting better
Gitting betterGitting better
Gitting better
Ali Servet Donmez
 
Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)
Joel W. King
 
Git from the trenches
Git from the trenchesGit from the trenches
Git from the trenches
Nuno Caneco
 
Git presentation
Git presentationGit presentation
Git presentation
jordimash
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
KeerthanaJ32
 
3 Git
3 Git3 Git
Git and Markdown.pptx
Git and Markdown.pptxGit and Markdown.pptx
Git and Markdown.pptx
Richard Anton
 
Migrating To GitHub
Migrating To GitHub  Migrating To GitHub
Migrating To GitHub
Sridhar Peddinti
 
Git_and_GitHub Integration_with_Guidewire
Git_and_GitHub Integration_with_GuidewireGit_and_GitHub Integration_with_Guidewire
Git_and_GitHub Integration_with_Guidewire
Gandhi Ramu
 
Data science Git management
Data science Git managementData science Git management
Data science Git management
Arindam Banerjee
 

Similar to Git and eclipse (20)

Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
 
git Introduction.pptx
git Introduction.pptxgit Introduction.pptx
git Introduction.pptx
 
Git
GitGit
Git
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
GDSC23 - Github Workshop Presentation.pptx
GDSC23 - Github Workshop Presentation.pptxGDSC23 - Github Workshop Presentation.pptx
GDSC23 - Github Workshop Presentation.pptx
 
Git workshop 33degree 2011 krakow
Git workshop 33degree 2011 krakowGit workshop 33degree 2011 krakow
Git workshop 33degree 2011 krakow
 
Git in the European Parliament
Git in the European ParliamentGit in the European Parliament
Git in the European Parliament
 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
 
Gitting better
Gitting betterGitting better
Gitting better
 
Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)Introduction to Git for Network Engineers (Lab Guide)
Introduction to Git for Network Engineers (Lab Guide)
 
Git from the trenches
Git from the trenchesGit from the trenches
Git from the trenches
 
Git presentation
Git presentationGit presentation
Git presentation
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
 
3 Git
3 Git3 Git
3 Git
 
Git and Markdown.pptx
Git and Markdown.pptxGit and Markdown.pptx
Git and Markdown.pptx
 
Migrating To GitHub
Migrating To GitHub  Migrating To GitHub
Migrating To GitHub
 
Git_and_GitHub Integration_with_Guidewire
Git_and_GitHub Integration_with_GuidewireGit_and_GitHub Integration_with_Guidewire
Git_and_GitHub Integration_with_Guidewire
 
Data science Git management
Data science Git managementData science Git management
Data science Git management
 

Recently uploaded

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 

Recently uploaded (20)

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 

Git and eclipse

  • 1. Git Can GIT make your life easier? 8/31/2010
  • 2. Agenda About me Introduction to Git Demo Conclusions 8/31/2010 Inventive Designers – The output innovators 2
  • 3. About me Nick Van den Bleeken R&D Manager at Inventive Designers Member of the XForms WG at W3C 8/31/2010 Inventive Designers – The output innovators 3
  • 4. Survey Who is not using source control? SVN? CVS? Git? 8/31/2010 Inventive Designers – The output innovators 4
  • 5. What is Git? Distributed Version Control System Scalable and Fast Non-linear, custom workflows Subversion-Style Workflow Integration Manager Workflow Dictator and Lieutenants Workflow … 8/31/2010 5 Inventive Designers – The output innovators
  • 6. Git andEclipse EGit: Eclipse Team Provider for Git JGit: lightweight Java library implementing Git Eclipse is moving to Gitas SCM (ETA end 2010) 8/31/2010 6 Inventive Designers – The output innovators
  • 7. Git vs SVN/CVS 8/31/2010 7 Inventive Designers – The output innovators Distributed (git) Centralized (CVS) Full local history Cheap local branching Fast Rebase patches easily Powerful merging No No Slow Patches go stale Merging is a pain
  • 8. Git Basics (1) 8/31/2010 Inventive Designers – The output innovators 8 Stores data as snapshots, not differences (Images taken from http://progit.org/book)
  • 9. Git Basics (2) Nearly every operation is local Git has integrity Git generally only adds data 8/31/2010 Inventive Designers – The output innovators 9
  • 10. Git Basics (3) 8/31/2010 Inventive Designers – The output innovators 10 The staging area (Images taken from http://whygitisbetterthanx.com)
  • 11. Git Typical usage 8/31/2010 Inventive Designers – The output innovators 11 Working directory Staging area Local repo remote repo git add git commit git push git fetch git checkout git merge
  • 12. Branches and tags 8/31/2010 Inventive Designers – The output innovators 12 Branches Creating a branch is quick (write 41 bytes) Long running / Topic branches Tags Lightweight tag branch that doesn’t change Annotated tag Check summed Tagger info Tagging message Optionally signed (GNU Privacy Guard) (Images taken from http://progit.org/book)
  • 13. rebase merge Merging Git determines the best common ancestor to use for its merge base (different than CVS) 8/31/2010 Inventive Designers – The output innovators 13 (Images taken from http://progit.org/book)
  • 14. rebase Merging Git determines the best common ancestor to use for its merge base (different than CVS) 9/1/2010 Inventive Designers – The output innovators 14 (Images taken from http://progit.org/book)
  • 15. Inventive Designers – The output innovators Demo EGitand Gerrit 15
  • 16. Conclusion Git is very powerful Git is scalable and fast Git supports convenient branching and merging All revisions of every file are locally available Git is the feature SCM of Eclipse 8/31/2010 Inventive Designers – The output innovators 16
  • 17.
  • 24.
  • 32.
  • 33. Inventive Designers – The output innovators Questions? 19

Editor's Notes

  1. git doesn’t just checks out the latest snapshot of the files,but fully mirrors the repository. -> full backup Nearly every operation is localWorkflowSubversion-Style Workflow (centralized model where all developers push to the same server -> shared repository)Integration Manager Workflow (a single person who commits to the 'blessed' repository, and then a number of developers who clone from that repository, push to their own independent repositories)Dictator andLieutenants Workflow (Linux kernel -> people are in charge of a specific subsystem of the project and merge in all changes for that subsystem, nother integrator (the 'dictator') can pull changes from only his/her lieutenants and the push to the 'blessed' repository)
  2. For example the Mozilla repository is reported to be almost 12 GiB when stored in SVN using the fsfs backend. Previously, the fsfs backend also required over 240,000 files in one directory to record all 240,000 commits made over the 10 year project history. This was fixed in SVN 1.5, where every 1000 revisions are placed in a separate directory. The exact same history is stored in Git by only two files totaling just over 420 MiB. SVN requires 30x the disk space to store the same history. An SVN working directory always contains two copies of each file: one for the user to actually work with and another hidden in .svn/ to aid operations such as status, diff and commit. In contrast a Git working directory requires only one small index file that stores about 100 bytes of data per tracked file. On projects with a large number of files this can be a substantial difference in the disk space required per working copy. As a full Git clone is often smaller than a full checkout, this means that Git working directories (including the repositories) are typically smaller than the corresponding SVN working directories. There are even ways in Git to share one repository across many working directories, but in contrast to SVN, this requires the working directories to be colocalized.
  3. Most operations in Git only need local files and resources to operate — generally no information is needed from another computer on your network. (e.g.: browse the history of the project)Everything in Git is check-summed before it is stored and is then referred to by that checksum -> change on disk -> checksum fails => can’t lose information in transit or get file corruption without Git being able to detect it. (SHA-1)Git evens keeps your stashes (Stashing takes the dirty state of your working directory — that is, your modified tracked files and staged changes — and saves it on a stack of unfinished changes that you can reapply at any time.)
  4. Git directory stores the metadata and object database for your project. This is the most important part of Git, and it is what is copied when you clone a repository from another computer.Working directory is a single checkout of one version of the project. These files are pulled out of the compressed database in the Git directory and placed on disk for you to use or modify.Staging area is a simple file, generally contained in your Git directory, that stores information about what will go into your next commit. It’s sometimes referred to as the index, but it’s becoming standard to refer to it as the staging area.
  5. Creating a new branch is as quick (lightweight) and simple as writing 41 bytes to a file (40 characters SHA-1 checksum of commit and a newline)Long running branches / topic branches -> possible to rebase commits on other branch (e.g.: master)TagsLightweight tag: a branch that doesn’t change -> pointer to a hashAnnotated tag: stored as a full object (check summed; tagger name, e-mail, and date; tagging message; optionally signed and verified with GNU Privacy Guard (GPG))
  6. Git determines the best common ancestor to use for its merge base; this is different than CVS, where the developer doing the merge has to figure out the best merge base for themselves.Two parents after merge -> knows who did what after merge (not the case in CVS)Integrate changes from one branch into another:MergeRebase -> re-apply changes ‘on C4’
  7. Git determines the best common ancestor to use for its merge base; this is different than CVS, where the developer doing the merge has to figure out the best merge base for themselves.Two parents after merge -> knows who did what after merge (not the case in CVS)Integrate changes from one branch into another:MergeRebase -> re-apply changes ‘on C4’
  8. Book translated into German, Chinese, Japanese and Dutch.GitHub is a web-based hosting service for projects that use the Git revision control system