SlideShare a Scribd company logo
1 of 20
Download to read offline
Version Control in Bioinformatics
Our Experience Using Git
Neil Saunders




MATHEMATICS, INFORMATICS AND STATISTICS
www.csiro.au
Genesis - Yammer




Version Control: Slide 2 of 21
Why?

       Surely everyone uses version control?




Version Control: Slide 3 of 21
Evolution of a self-taught programmer




                                 “One file, no versions”




Version Control: Slide 4 of 21
Evolution of a self-taught programmer




                                 “Versions as multiple files”




Version Control: Slide 5 of 21
Evolution of a self-taught programmer




                                 Version Control!




Version Control: Slide 6 of 21
Choices




       http://en.wikipedia.org/wiki/Comparison of revision control software
         • lists 34 software packages
         • of which 26 are “actively developed”
         • and 10 use the distributed repository model




Version Control: Slide 7 of 21
Git




                                 http://git-scm.com/




Version Control: Slide 8 of 21
Start with a good file hierarchy




                                 and a good .gitignore file



Version Control: Slide 9 of 21
Initialize the repository




                                  git init




Version Control: Slide 10 of 21
Add files




                                  git add .




Version Control: Slide 11 of 21
Commit changes




                        git commit -a -m “Initial commit”




Version Control: Slide 12 of 21
That may be all you need




Version Control: Slide 13 of 21
Repositories

       Redmine + Gitolite




Version Control: Slide 14 of 21
Cloning a remote repository




              git clone gitolite@www.bioinformatics.csiro.au:malaria.git




Version Control: Slide 15 of 21
Pushing to a remote repository




                                  git push origin master




Version Control: Slide 16 of 21
Updating from a remote repository




                                  git fetch origin
                                  git pull origin




Version Control: Slide 17 of 21
More advanced - all Git commands




Version Control: Slide 18 of 21
Github: social coding




Version Control: Slide 19 of 21
BioMed Central + Github




          http://blogs.biomedcentral.com/bmcblog/2013/02/28/github-and-
                                  biomed-central/



Version Control: Slide 20 of 21

More Related Content

Similar to Version Control in Bioinformatics: Our Experience Using Git

Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 

Similar to Version Control in Bioinformatics: Our Experience Using Git (20)

Software development made serious
Software development made seriousSoftware development made serious
Software development made serious
 
Git And Git Hub.pptx
Git And Git Hub.pptxGit And Git Hub.pptx
Git And Git Hub.pptx
 
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, TrivandrumIntroduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
 
git KT .pptx
git KT .pptxgit KT .pptx
git KT .pptx
 
Git
GitGit
Git
 
Git introduction
Git introductionGit introduction
Git introduction
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git the fast version control system
Git the fast version control systemGit the fast version control system
Git the fast version control system
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
 
Git presentation
Git presentationGit presentation
Git presentation
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
 
Git for uninitiated
Git for uninitiatedGit for uninitiated
Git for uninitiated
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
 
Git Workshop
Git WorkshopGit Workshop
Git Workshop
 
Grokking opensource with github
Grokking opensource with githubGrokking opensource with github
Grokking opensource with github
 
Developing with versioning and CI/CD
Developing with versioning and CI/CDDeveloping with versioning and CI/CD
Developing with versioning and CI/CD
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
 
Git from the trenches
Git from the trenchesGit from the trenches
Git from the trenches
 

More from Neil Saunders

More from Neil Saunders (11)

Online bioinformatics forums: why do we keep asking the same questions?
Online bioinformatics forums: why do we keep asking the same questions?Online bioinformatics forums: why do we keep asking the same questions?
Online bioinformatics forums: why do we keep asking the same questions?
 
Should I be dead? a very personal genomics
Should I be dead? a very personal genomicsShould I be dead? a very personal genomics
Should I be dead? a very personal genomics
 
SQL, noSQL or no database at all? Are databases still a core skill?
SQL, noSQL or no database at all? Are databases still a core skill?SQL, noSQL or no database at all? Are databases still a core skill?
SQL, noSQL or no database at all? Are databases still a core skill?
 
Data Integration: What I Haven't Yet Achieved
Data Integration: What I Haven't Yet AchievedData Integration: What I Haven't Yet Achieved
Data Integration: What I Haven't Yet Achieved
 
Building A Web Application To Monitor PubMed Retraction Notices
Building A Web Application To Monitor PubMed Retraction NoticesBuilding A Web Application To Monitor PubMed Retraction Notices
Building A Web Application To Monitor PubMed Retraction Notices
 
What can science networking online do for you
What can science networking online do for youWhat can science networking online do for you
What can science networking online do for you
 
Using structural information to predict protein-protein interaction and enyzm...
Using structural information to predict protein-protein interaction and enyzm...Using structural information to predict protein-protein interaction and enyzm...
Using structural information to predict protein-protein interaction and enyzm...
 
Predikin and PredikinDB: tools to predict protein kinase peptide specificity
Predikin and PredikinDB:  tools to predict protein kinase peptide specificityPredikin and PredikinDB:  tools to predict protein kinase peptide specificity
Predikin and PredikinDB: tools to predict protein kinase peptide specificity
 
The Viking labelled release experiment: life on Mars?
The Viking labelled release experiment:  life on Mars?The Viking labelled release experiment:  life on Mars?
The Viking labelled release experiment: life on Mars?
 
Protein function and bioinformatics
Protein function and bioinformaticsProtein function and bioinformatics
Protein function and bioinformatics
 
Genomics of cold-adapted microorganisms
Genomics of cold-adapted microorganismsGenomics of cold-adapted microorganisms
Genomics of cold-adapted microorganisms
 

Recently uploaded

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 

Version Control in Bioinformatics: Our Experience Using Git

  • 1. Version Control in Bioinformatics Our Experience Using Git Neil Saunders MATHEMATICS, INFORMATICS AND STATISTICS www.csiro.au
  • 2. Genesis - Yammer Version Control: Slide 2 of 21
  • 3. Why? Surely everyone uses version control? Version Control: Slide 3 of 21
  • 4. Evolution of a self-taught programmer “One file, no versions” Version Control: Slide 4 of 21
  • 5. Evolution of a self-taught programmer “Versions as multiple files” Version Control: Slide 5 of 21
  • 6. Evolution of a self-taught programmer Version Control! Version Control: Slide 6 of 21
  • 7. Choices http://en.wikipedia.org/wiki/Comparison of revision control software • lists 34 software packages • of which 26 are “actively developed” • and 10 use the distributed repository model Version Control: Slide 7 of 21
  • 8. Git http://git-scm.com/ Version Control: Slide 8 of 21
  • 9. Start with a good file hierarchy and a good .gitignore file Version Control: Slide 9 of 21
  • 10. Initialize the repository git init Version Control: Slide 10 of 21
  • 11. Add files git add . Version Control: Slide 11 of 21
  • 12. Commit changes git commit -a -m “Initial commit” Version Control: Slide 12 of 21
  • 13. That may be all you need Version Control: Slide 13 of 21
  • 14. Repositories Redmine + Gitolite Version Control: Slide 14 of 21
  • 15. Cloning a remote repository git clone gitolite@www.bioinformatics.csiro.au:malaria.git Version Control: Slide 15 of 21
  • 16. Pushing to a remote repository git push origin master Version Control: Slide 16 of 21
  • 17. Updating from a remote repository git fetch origin git pull origin Version Control: Slide 17 of 21
  • 18. More advanced - all Git commands Version Control: Slide 18 of 21
  • 19. Github: social coding Version Control: Slide 19 of 21
  • 20. BioMed Central + Github http://blogs.biomedcentral.com/bmcblog/2013/02/28/github-and- biomed-central/ Version Control: Slide 20 of 21