SlideShare a Scribd company logo
1 of 33
Version Control
            Systems
Understanding the differences between centralized and
decentralized version control systems and the options
           of different types of VCS available
Has this ever
           happened?
• You look in the trash for files.
• You have more than two or three levels of
  undo in a document.
• You have emailed someone to send you a
  copy of some files.
• FTP has died mid transfer leaving partial
  files.
What is Version
             Control

• Revision control (also known as version
  control, source control or (source) code
  management (SCM)) is the management of
  changes to documents, programs, and other
  information stored as computer files.*



  *http://en.wikipedia.org/wiki/Revision_control
What is Version
             Control

• Changes are usually identified by a number
  or letter code, termed the "revision
  number", "revision level", or simply
  "revision".



  *http://en.wikipedia.org/wiki/Revision_control
What is Version
             Control

• Each revision is associated with a
  timestamp and the person making the
  change. Revisions can be compared,
  restored, and with some types of files,
  merged.



  *http://en.wikipedia.org/wiki/Revision_control
Types of Version
         Control
• Centralized
 • CVS, Subversion, Perforce etc.
• Distributed
 • GIT, Mercurial, Bazaar
Centralized


•   Needs to be online or
    LAN to repo.
Distributed


•   Do not need to be
    online. No central
    Repo.
People Are Divided

•   “Hey, you can use your old model if you want to. git
    doesn't *force* you to change. But trust me, once
    you start noticing how different groups can have
    their own experimental branches, and can ask
    people to test stuff that isn't ready for mainline yet,
    you'll see what the big deal is all about.”

    Centralized _works_. It's just *inferior*.


    Linus Torvalds in a letter to the KDE team 20 Aug 2007
People Are Divided


•   "Merging is the key to software developer
    collaboration."




    Mark Shuttleworth (Ubuntu / Canonical Ltd.):
People Are Divided


•   "By 2011-2012, I predict this technology will be
    widely adopted and many teams will wonder how
    they once managed without it."




    Ian Clatworthy (Canonical / Bazaar)
People Are Divided

• "Subversion has been
  the most pointless
  project ever started".
  "If you like using CVS,
  you should be in some
  kind of mental
  institution or
  somewhere else".


   Linus Torvalds
What else is there

• Mercurial (hg) and Bazaar (bzr) -
  decentralized. File Revision System not
  Delta Change Systems.
• CVS (dead), Perforce (ask kyle and fletcher)
GIT & SVN
       Copy a Project

• > git clone url
  > git pull
• > svn checkout url
  > svn update
GIT & SVN
 Create a Repository

• > git init
• > create repo
GIT & SVN
    Add to First Repo

• > git add .
  > git commit
• > svn import file://repo
GIT & SVN
    Check Differences

• > git diff
• > svn diff | less
GIT & SVN
         Check Status

• > git status
• > svn status
GIT & SVN
Restore from Revision

• > git checkout path
• > svn revert path
GIT & SVN
  Moves and Changes
• > git add file
  > git rm file
  > git mv file
• > svn add file
  > svn rm file
  > svn mv file
GIT & SVN
         Committing

• > git commit -a
• > svn commit
GIT & SVN
   Reviewing History

• > git commit -a
• > svn commit
GIT & SVN
Tagging and Branching

• > git tag -a name
• > svn copy http://example.com/svn/trunk
  http://example.com/svn/tags/name
GIT & SVN
Tagging and Branching

• > git tag -a name
• > svn copy http://example.com/svn/trunk
  http://example.com/svn/tags/name
GIT & SVN
Tagging and Branching
• > git tag -l
  > git show tag
• > svn list http://example.com/svn/tags/
  > svn log --limit 1 http://example.com/svn/
  tags/tag
GIT & SVN
Tagging and Branching
• > git branch branch
  > git checkout branch
• > svn copy http://example.com/svn/trunk
  http://example.com/svn/branches/branch
  > svn switch http://example.com/svn/
  branches/branch
GIT & SVN
   Changing Branches

• > git merge branch
• > svn merge -r 20:HEAD http://
  example.com/svn/branches/branch
GIT & SVN
    Remote Branches

• > git clone url
• > svn checkout url
GIT & SVN
    Remote Branches

• > git checkout --track -b branch origin/
  branch
• > svn switch url
GIT & SVN
       Cherry Picking

• > git cherry-pick rev
• > svn merge -c rev url
Git GUI

• gitc
• git-gui
• git cola
• gitx
More Information


• http://www.infoq.com/articles/dvcs-guide
• http://git.or.cz/course/svn.html

More Related Content

What's hot (17)

Subversion
SubversionSubversion
Subversion
 
Version Control & Git
Version Control & GitVersion Control & Git
Version Control & Git
 
Mini git tutorial
Mini git tutorialMini git tutorial
Mini git tutorial
 
From svn to git
From svn to gitFrom svn to git
From svn to git
 
Source Code Management with Git
Source Code Management with GitSource Code Management with Git
Source Code Management with Git
 
Subversion to Git Migration
Subversion to Git MigrationSubversion to Git Migration
Subversion to Git Migration
 
Git vs svn
Git vs svnGit vs svn
Git vs svn
 
Git learn from scratch
Git learn from scratchGit learn from scratch
Git learn from scratch
 
What is version control software and why do you need it?
What is version control software and why do you need it?What is version control software and why do you need it?
What is version control software and why do you need it?
 
Git basics
Git basicsGit basics
Git basics
 
Git
GitGit
Git
 
Git
GitGit
Git
 
Git hub
Git hubGit hub
Git hub
 
Git basics
Git basicsGit basics
Git basics
 
Using Subversion and Git Together
Using Subversion and Git TogetherUsing Subversion and Git Together
Using Subversion and Git Together
 
Github - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsGithub - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
 
Git Tech Talk
Git  Tech TalkGit  Tech Talk
Git Tech Talk
 

Similar to Differences between centralized and decentralized version control systems

Luis atencio on_git
Luis atencio on_gitLuis atencio on_git
Luis atencio on_gitLuis Atencio
 
Git 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGeoff Hoffman
 
An introduction to Git and GitFlow
An introduction to Git and GitFlowAn introduction to Git and GitFlow
An introduction to Git and GitFlowMark Everard
 
Version Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part IVersion Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part ISergey Aganezov
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubKim Moir
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Gitatishgoswami
 
Version Control With Subversion
Version Control With SubversionVersion Control With Subversion
Version Control With SubversionSamnang Chhun
 
Source-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lessonSource-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lessonYoram Michaeli
 
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Ahmed El-Arabawy
 
Git Educated About Git - 20 Essential Commands
Git Educated About Git - 20 Essential CommandsGit Educated About Git - 20 Essential Commands
Git Educated About Git - 20 Essential CommandsJeremy Lindblom
 
SVN Tool Information : Best Practices
SVN Tool Information  : Best PracticesSVN Tool Information  : Best Practices
SVN Tool Information : Best PracticesMaidul Islam
 

Similar to Differences between centralized and decentralized version control systems (20)

Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
GIT INTRODUCTION
GIT INTRODUCTIONGIT INTRODUCTION
GIT INTRODUCTION
 
Intro to git
Intro to gitIntro to git
Intro to git
 
Git
GitGit
Git
 
Luis atencio on_git
Luis atencio on_gitLuis atencio on_git
Luis atencio on_git
 
Git 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using Git
 
An introduction to Git and GitFlow
An introduction to Git and GitFlowAn introduction to Git and GitFlow
An introduction to Git and GitFlow
 
Version Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part IVersion Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part I
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Git 101
Git 101Git 101
Git 101
 
Version Control With Subversion
Version Control With SubversionVersion Control With Subversion
Version Control With Subversion
 
GIT In Detail
GIT In DetailGIT In Detail
GIT In Detail
 
Source-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lessonSource-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lesson
 
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
 
Working with Git
Working with GitWorking with Git
Working with Git
 
Git Educated About Git - 20 Essential Commands
Git Educated About Git - 20 Essential CommandsGit Educated About Git - 20 Essential Commands
Git Educated About Git - 20 Essential Commands
 
SVN Tool Information : Best Practices
SVN Tool Information  : Best PracticesSVN Tool Information  : Best Practices
SVN Tool Information : Best Practices
 

Recently uploaded

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Differences between centralized and decentralized version control systems

  • 1. Version Control Systems Understanding the differences between centralized and decentralized version control systems and the options of different types of VCS available
  • 2. Has this ever happened? • You look in the trash for files. • You have more than two or three levels of undo in a document. • You have emailed someone to send you a copy of some files. • FTP has died mid transfer leaving partial files.
  • 3. What is Version Control • Revision control (also known as version control, source control or (source) code management (SCM)) is the management of changes to documents, programs, and other information stored as computer files.* *http://en.wikipedia.org/wiki/Revision_control
  • 4. What is Version Control • Changes are usually identified by a number or letter code, termed the "revision number", "revision level", or simply "revision". *http://en.wikipedia.org/wiki/Revision_control
  • 5. What is Version Control • Each revision is associated with a timestamp and the person making the change. Revisions can be compared, restored, and with some types of files, merged. *http://en.wikipedia.org/wiki/Revision_control
  • 6. Types of Version Control • Centralized • CVS, Subversion, Perforce etc. • Distributed • GIT, Mercurial, Bazaar
  • 7. Centralized • Needs to be online or LAN to repo.
  • 8. Distributed • Do not need to be online. No central Repo.
  • 9. People Are Divided • “Hey, you can use your old model if you want to. git doesn't *force* you to change. But trust me, once you start noticing how different groups can have their own experimental branches, and can ask people to test stuff that isn't ready for mainline yet, you'll see what the big deal is all about.” Centralized _works_. It's just *inferior*. Linus Torvalds in a letter to the KDE team 20 Aug 2007
  • 10. People Are Divided • "Merging is the key to software developer collaboration." Mark Shuttleworth (Ubuntu / Canonical Ltd.):
  • 11. People Are Divided • "By 2011-2012, I predict this technology will be widely adopted and many teams will wonder how they once managed without it." Ian Clatworthy (Canonical / Bazaar)
  • 12. People Are Divided • "Subversion has been the most pointless project ever started". "If you like using CVS, you should be in some kind of mental institution or somewhere else". Linus Torvalds
  • 13. What else is there • Mercurial (hg) and Bazaar (bzr) - decentralized. File Revision System not Delta Change Systems. • CVS (dead), Perforce (ask kyle and fletcher)
  • 14. GIT & SVN Copy a Project • > git clone url > git pull • > svn checkout url > svn update
  • 15. GIT & SVN Create a Repository • > git init • > create repo
  • 16. GIT & SVN Add to First Repo • > git add . > git commit • > svn import file://repo
  • 17. GIT & SVN Check Differences • > git diff • > svn diff | less
  • 18. GIT & SVN Check Status • > git status • > svn status
  • 19. GIT & SVN Restore from Revision • > git checkout path • > svn revert path
  • 20. GIT & SVN Moves and Changes • > git add file > git rm file > git mv file • > svn add file > svn rm file > svn mv file
  • 21. GIT & SVN Committing • > git commit -a • > svn commit
  • 22. GIT & SVN Reviewing History • > git commit -a • > svn commit
  • 23. GIT & SVN Tagging and Branching • > git tag -a name • > svn copy http://example.com/svn/trunk http://example.com/svn/tags/name
  • 24. GIT & SVN Tagging and Branching • > git tag -a name • > svn copy http://example.com/svn/trunk http://example.com/svn/tags/name
  • 25. GIT & SVN Tagging and Branching • > git tag -l > git show tag • > svn list http://example.com/svn/tags/ > svn log --limit 1 http://example.com/svn/ tags/tag
  • 26. GIT & SVN Tagging and Branching • > git branch branch > git checkout branch • > svn copy http://example.com/svn/trunk http://example.com/svn/branches/branch > svn switch http://example.com/svn/ branches/branch
  • 27. GIT & SVN Changing Branches • > git merge branch • > svn merge -r 20:HEAD http:// example.com/svn/branches/branch
  • 28. GIT & SVN Remote Branches • > git clone url • > svn checkout url
  • 29. GIT & SVN Remote Branches • > git checkout --track -b branch origin/ branch • > svn switch url
  • 30. GIT & SVN Cherry Picking • > git cherry-pick rev • > svn merge -c rev url
  • 31.
  • 32. Git GUI • gitc • git-gui • git cola • gitx