SlideShare a Scribd company logo
svn checkout essentials
Made with by @elacheche_bedis
- What is a version control software?
- Why should I use a VCS?
- What is SVN?
- How to use SVN?
Version control software
- Allows to work on several versions of the same project.
- Manages file sharing for concurrent development.
- Automatically merges changes into original files.
- Allows those changes to be distributed and used by all participants.
- Keeps track of changes with version control.
- You can always revert any file to a previous version.
- You can inspect the differences between any two versions of a file.
Why should I use a VCS?
As a single developer :
- Backing up versions of projects, rapid and stable releases of code updates.
- You don’t need to keep each iteration of your project on your computer.
- You can re-download any previous version at anytime.
As a team :
- It makes collaboration easier.
- There is no extra set-up required to access your work.
- Others can easily update the repository and use your code/source.
SVN: What it is?
- SVN is common shorthand for Subversion.
- A centralized revision control system
SVN: How it works?
A
Jhon Doe Jane Doe
Repository
SVN: How it works?
A
A A
Jhon Doe Jane Doe
Repository
UpdateUpdate
SVN: How it works?
A
A' A''
Jhon Doe Jane Doe
Repository
SVN: How it works?
A'
A' A''
Jhon Doe Jane Doe
Repository
Commit
SVN: How it works?
A'
A' A''
Jhon Doe Jane Doe
Repository
Commit
SVN: How it works?
A'
A' A''
Jhon Doe Jane Doe
Repository
Commit
SVN: How it works?
A'
A' A*
Jhon Doe Jane Doe
Repository
Update
SVN: How it works?
A*
A' A*
Jhon Doe Jane Doe
Repository
Commit
SVN: How it works?
A*
A* A*
Jhon Doe Jane Doe
Repository
Update
SVN: Repository structure
- Trunk
- Branches
- Tags
SVN: Repository structure: Trunk
- Usually meant to be the base of a project on which development progresses.
- Always contains the latest cutting-edge version of the project.
- May also be the most unstable version.
SVN: Repository structure: Branches
- A copy of code derived from a certain point in the trunk.
- A line of development that exists independently of another line.
- Used for applying major changes to the code while preserving the integrity of the
code in the trunk.
SVN: Repository structure: Tags
- A “snapshot” in time on the trunk or a branch that you wish to preserve.
- Allowing you to go back and reproduce any bugs if necessary in a past version,
or re-release a past version exactly as it was.
- Either a major release of the software, or the most stable point of the software
before major revisions on the trunk were applied.
SVN: Understand and use branches
SVN: How to use it?
- Checkout working copy into target folder :
$ svn checkout "­/path/to/repository"­ "­/path/to/folder"­
- Checkout working copy into current folder :
$ svn co "­/path/to/repository"­
- Update path :
$ svn update "­/path"­
- Update path to revision 9 :
$ svn up -r9 "­/path"­
- Add all items, recursively :
$ svn add *
- Add itemname (if folder, adds recursively)
$ svn add itemname
SVN: How to use it?
- Delete path :
$ svn delete "­/path"­
- Copy source to target :
$ svn copy "­/source"­ "­/target"­
- Move source to target :
$ svn move "­/source"­ "­/target"­
- Revert changes to path :
$ svn revert "­/path"­
- Differences Between Files
$ svn diff -r 2:7 "­/path/file"­
SVN: How to use it?
- Apply diff between revisions 2 and 7 of "­item"­ to path:
$ svn merge -r2:7 "­item"­ "­/path"­
- Get path status :
$ svn status "­/path"­
$ svn st "­/path"­
- Resolve conflict :
$ svn resolve "­/path"­
- Commit changes to path :
$ svn commit "­/path"­
$ svn ci -m "­Message"­ "­/path"­
SVN: Further Considerations
- You must do an update (and resolve any possible conflicts) before you commit
your copy.
- Make sure to update regularly otherwise you will have lots of conflicts.
- SVN will not help you if you do not commit regularly.
- If you add lots of new stuff, make sure to commit everyting.
svn commit -m 'Thank you'
Made with by @elacheche_bedis

More Related Content

What's hot

Ansible - A 'crowd' introduction
Ansible - A 'crowd' introductionAnsible - A 'crowd' introduction
Ansible - A 'crowd' introduction
Manuel de la Peña Peña
 
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.jsNon-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
 
Deployment automation
Deployment automationDeployment automation
Deployment automation
Riccardo Lemmi
 
Network Automation: Ansible 102
Network Automation: Ansible 102Network Automation: Ansible 102
Network Automation: Ansible 102
APNIC
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
Suresh Kumar
 
Deploying PHP Applications with Ansible
Deploying PHP Applications with AnsibleDeploying PHP Applications with Ansible
Deploying PHP Applications with Ansible
Orestes Carracedo
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
Michael Bahr
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS
Ganesh Kondal
 
Node.js Explained
Node.js ExplainedNode.js Explained
Node.js Explained
Jeff Kunkle
 
Automation and Ansible
Automation and AnsibleAutomation and Ansible
Automation and Ansible
jtyr
 
Nodejs getting started
Nodejs getting startedNodejs getting started
Nodejs getting started
Triet Ho
 
Ansible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeAnsible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less Coffee
Sarah Z
 
Dependencies and Licenses
Dependencies and LicensesDependencies and Licenses
Dependencies and Licenses
Robert Reiz
 
Java script at backend nodejs
Java script at backend   nodejsJava script at backend   nodejs
Java script at backend nodejs
Amit Thakkar
 
Jenkins and ansible reference
Jenkins and ansible referenceJenkins and ansible reference
Jenkins and ansible reference
laonap166
 
Introduction to node.js aka NodeJS
Introduction to node.js aka NodeJSIntroduction to node.js aka NodeJS
Introduction to node.js aka NodeJS
JITENDRA KUMAR PATEL
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express
Jeetendra singh
 
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Idan Tohami
 
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js TutorialOSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js TutorialTom Croucher
 

What's hot (20)

Ansible - A 'crowd' introduction
Ansible - A 'crowd' introductionAnsible - A 'crowd' introduction
Ansible - A 'crowd' introduction
 
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.jsNon-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
 
Deployment automation
Deployment automationDeployment automation
Deployment automation
 
Node ppt
Node pptNode ppt
Node ppt
 
Network Automation: Ansible 102
Network Automation: Ansible 102Network Automation: Ansible 102
Network Automation: Ansible 102
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Deploying PHP Applications with Ansible
Deploying PHP Applications with AnsibleDeploying PHP Applications with Ansible
Deploying PHP Applications with Ansible
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS
 
Node.js Explained
Node.js ExplainedNode.js Explained
Node.js Explained
 
Automation and Ansible
Automation and AnsibleAutomation and Ansible
Automation and Ansible
 
Nodejs getting started
Nodejs getting startedNodejs getting started
Nodejs getting started
 
Ansible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeAnsible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less Coffee
 
Dependencies and Licenses
Dependencies and LicensesDependencies and Licenses
Dependencies and Licenses
 
Java script at backend nodejs
Java script at backend   nodejsJava script at backend   nodejs
Java script at backend nodejs
 
Jenkins and ansible reference
Jenkins and ansible referenceJenkins and ansible reference
Jenkins and ansible reference
 
Introduction to node.js aka NodeJS
Introduction to node.js aka NodeJSIntroduction to node.js aka NodeJS
Introduction to node.js aka NodeJS
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express
 
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
 
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js TutorialOSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
 

Viewers also liked

3guia de orientacion para docentes acerca de niños con discapacidad intelectual
3guia de orientacion para docentes acerca de niños con discapacidad intelectual3guia de orientacion para docentes acerca de niños con discapacidad intelectual
3guia de orientacion para docentes acerca de niños con discapacidad intelectual
enayda mamani
 
Exploring the State of Sustainability in Higher Education 2015
Exploring the State of Sustainability in Higher Education 2015Exploring the State of Sustainability in Higher Education 2015
Exploring the State of Sustainability in Higher Education 2015
Sightlines
 
Add. maths kelantan_2011
Add. maths kelantan_2011Add. maths kelantan_2011
Add. maths kelantan_2011
Boon Chui Chang
 
Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...
Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...
Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...
Sightlines
 
Fuerzas y el centroide
Fuerzas y el centroideFuerzas y el centroide
Fuerzas y el centroide
Crisbel93
 
サイエンスアイランドプロジェクト:ポスター,science islands project: poster
サイエンスアイランドプロジェクト:ポスター,science islands project: posterサイエンスアイランドプロジェクト:ポスター,science islands project: poster
サイエンスアイランドプロジェクト:ポスター,science islands project: poster
Fukuoka Institute of Technology
 
Curso Diseño Web Front End - Presentación
Curso Diseño Web Front End - PresentaciónCurso Diseño Web Front End - Presentación
Curso Diseño Web Front End - Presentación
danilohnr
 
Multi Cloud Challanges Review
Multi Cloud Challanges ReviewMulti Cloud Challanges Review
Multi Cloud Challanges Review
Omid Vahdaty
 
Nosql query processing system for wireless sensor networks
Nosql query processing system for wireless sensor networksNosql query processing system for wireless sensor networks
Nosql query processing system for wireless sensor networks
Nikhil Bhaware
 
obstaculos emocionalesy contextuales en entrevista psicologica
obstaculos emocionalesy contextuales en entrevista psicologicaobstaculos emocionalesy contextuales en entrevista psicologica
obstaculos emocionalesy contextuales en entrevista psicologica
Dulce Sanchez
 
The art of startup execution
The art of startup executionThe art of startup execution
The art of startup execution
Omid Vahdaty
 
Pemanasan global
Pemanasan globalPemanasan global
Pemanasan global
Afiqah Yusoff
 
Bandar terjejas dengan pemanasan global
Bandar terjejas dengan pemanasan globalBandar terjejas dengan pemanasan global
Bandar terjejas dengan pemanasan global
Norsyaza Aqilah
 
FreeeUp Workers Skillsets
FreeeUp Workers SkillsetsFreeeUp Workers Skillsets
FreeeUp Workers Skillsets
Nathan Hirsch
 
C++11: final, sealed Specifier (지정자)
C++11: final, sealed Specifier (지정자)C++11: final, sealed Specifier (지정자)
C++11: final, sealed Specifier (지정자)
용준 김
 

Viewers also liked (15)

3guia de orientacion para docentes acerca de niños con discapacidad intelectual
3guia de orientacion para docentes acerca de niños con discapacidad intelectual3guia de orientacion para docentes acerca de niños con discapacidad intelectual
3guia de orientacion para docentes acerca de niños con discapacidad intelectual
 
Exploring the State of Sustainability in Higher Education 2015
Exploring the State of Sustainability in Higher Education 2015Exploring the State of Sustainability in Higher Education 2015
Exploring the State of Sustainability in Higher Education 2015
 
Add. maths kelantan_2011
Add. maths kelantan_2011Add. maths kelantan_2011
Add. maths kelantan_2011
 
Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...
Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...
Take Control of Your Facilities: Explore the Tools for Aligning Space, Capita...
 
Fuerzas y el centroide
Fuerzas y el centroideFuerzas y el centroide
Fuerzas y el centroide
 
サイエンスアイランドプロジェクト:ポスター,science islands project: poster
サイエンスアイランドプロジェクト:ポスター,science islands project: posterサイエンスアイランドプロジェクト:ポスター,science islands project: poster
サイエンスアイランドプロジェクト:ポスター,science islands project: poster
 
Curso Diseño Web Front End - Presentación
Curso Diseño Web Front End - PresentaciónCurso Diseño Web Front End - Presentación
Curso Diseño Web Front End - Presentación
 
Multi Cloud Challanges Review
Multi Cloud Challanges ReviewMulti Cloud Challanges Review
Multi Cloud Challanges Review
 
Nosql query processing system for wireless sensor networks
Nosql query processing system for wireless sensor networksNosql query processing system for wireless sensor networks
Nosql query processing system for wireless sensor networks
 
obstaculos emocionalesy contextuales en entrevista psicologica
obstaculos emocionalesy contextuales en entrevista psicologicaobstaculos emocionalesy contextuales en entrevista psicologica
obstaculos emocionalesy contextuales en entrevista psicologica
 
The art of startup execution
The art of startup executionThe art of startup execution
The art of startup execution
 
Pemanasan global
Pemanasan globalPemanasan global
Pemanasan global
 
Bandar terjejas dengan pemanasan global
Bandar terjejas dengan pemanasan globalBandar terjejas dengan pemanasan global
Bandar terjejas dengan pemanasan global
 
FreeeUp Workers Skillsets
FreeeUp Workers SkillsetsFreeeUp Workers Skillsets
FreeeUp Workers Skillsets
 
C++11: final, sealed Specifier (지정자)
C++11: final, sealed Specifier (지정자)C++11: final, sealed Specifier (지정자)
C++11: final, sealed Specifier (지정자)
 

Similar to SVN essentials

Subversionn Introduction at SuperMondays 2009-09-01
Subversionn Introduction at SuperMondays 2009-09-01Subversionn Introduction at SuperMondays 2009-09-01
Subversionn Introduction at SuperMondays 2009-09-01
Alex Kavanagh
 
Introduction to Subversion and Google Project Hosting
Introduction to Subversion and Google Project HostingIntroduction to Subversion and Google Project Hosting
Introduction to Subversion and Google Project HostingPhilip Johnson
 
Subversion on .Unix
Subversion on .UnixSubversion on .Unix
Subversion on .Unix
Trong Dinh
 
Subversion on .Unix
Subversion on .UnixSubversion on .Unix
Subversion on .Unix
Trong Dinh
 
Practical SVN for PHP Developers
Practical SVN for PHP DevelopersPractical SVN for PHP Developers
Practical SVN for PHP DevelopersLorna Mitchell
 
Totalsvn Usage And Administration By Gopi
Totalsvn Usage And Administration By GopiTotalsvn Usage And Administration By Gopi
Totalsvn Usage And Administration By Gopi
gopinathkarangula
 
Burlington, VT PHP Users Group Subversion Presentation
Burlington, VT PHP Users Group Subversion PresentationBurlington, VT PHP Users Group Subversion Presentation
Burlington, VT PHP Users Group Subversion Presentation
Bradley Holt
 
subversion.ppt
subversion.pptsubversion.ppt
subversion.ppt
TahaKhayyam
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
Gourav Varma
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best PracticesAshraf Fouad
 
Build Automation using Maven
Build Automation using Maven Build Automation using Maven
Build Automation using Maven
Ankit Gubrani
 
Svn Subversion
Svn SubversionSvn Subversion
Svn Subversion
Ranjan Kumar
 
Subversion (SVN)
Subversion (SVN)Subversion (SVN)
Subversion (SVN)
manugoel2003
 
groovy & grails - lecture 10
groovy & grails - lecture 10groovy & grails - lecture 10
groovy & grails - lecture 10
Alexandre Masselot
 
Linux13 concurrent versions system
Linux13 concurrent versions systemLinux13 concurrent versions system
Linux13 concurrent versions system
Jainul Musani
 
Composer: putting dependencies on the score
Composer: putting dependencies on the scoreComposer: putting dependencies on the score
Composer: putting dependencies on the score
Rafael Dohms
 
Version control with subversion
Version control with subversionVersion control with subversion
Version control with subversionxprayc
 
Git and GitFlow branching model
Git and GitFlow branching modelGit and GitFlow branching model
Git and GitFlow branching model
Pavlo Hodysh
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
Jeremy Coates
 

Similar to SVN essentials (20)

Subversionn Introduction at SuperMondays 2009-09-01
Subversionn Introduction at SuperMondays 2009-09-01Subversionn Introduction at SuperMondays 2009-09-01
Subversionn Introduction at SuperMondays 2009-09-01
 
Introduction to Subversion and Google Project Hosting
Introduction to Subversion and Google Project HostingIntroduction to Subversion and Google Project Hosting
Introduction to Subversion and Google Project Hosting
 
Subversion on .Unix
Subversion on .UnixSubversion on .Unix
Subversion on .Unix
 
Subversion on .Unix
Subversion on .UnixSubversion on .Unix
Subversion on .Unix
 
Practical SVN for PHP Developers
Practical SVN for PHP DevelopersPractical SVN for PHP Developers
Practical SVN for PHP Developers
 
Totalsvn Usage And Administration By Gopi
Totalsvn Usage And Administration By GopiTotalsvn Usage And Administration By Gopi
Totalsvn Usage And Administration By Gopi
 
Burlington, VT PHP Users Group Subversion Presentation
Burlington, VT PHP Users Group Subversion PresentationBurlington, VT PHP Users Group Subversion Presentation
Burlington, VT PHP Users Group Subversion Presentation
 
subversion.ppt
subversion.pptsubversion.ppt
subversion.ppt
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best Practices
 
Build Automation using Maven
Build Automation using Maven Build Automation using Maven
Build Automation using Maven
 
Svn Subversion
Svn SubversionSvn Subversion
Svn Subversion
 
Subversion (SVN)
Subversion (SVN)Subversion (SVN)
Subversion (SVN)
 
groovy & grails - lecture 10
groovy & grails - lecture 10groovy & grails - lecture 10
groovy & grails - lecture 10
 
Linux13 concurrent versions system
Linux13 concurrent versions systemLinux13 concurrent versions system
Linux13 concurrent versions system
 
Composer: putting dependencies on the score
Composer: putting dependencies on the scoreComposer: putting dependencies on the score
Composer: putting dependencies on the score
 
Svn tutorial
Svn tutorialSvn tutorial
Svn tutorial
 
Version control with subversion
Version control with subversionVersion control with subversion
Version control with subversion
 
Git and GitFlow branching model
Git and GitFlow branching modelGit and GitFlow branching model
Git and GitFlow branching model
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
 

Recently uploaded

power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 

Recently uploaded (20)

power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 

SVN essentials

  • 1. svn checkout essentials Made with by @elacheche_bedis
  • 2. - What is a version control software? - Why should I use a VCS? - What is SVN? - How to use SVN?
  • 3. Version control software - Allows to work on several versions of the same project. - Manages file sharing for concurrent development. - Automatically merges changes into original files. - Allows those changes to be distributed and used by all participants. - Keeps track of changes with version control. - You can always revert any file to a previous version. - You can inspect the differences between any two versions of a file.
  • 4. Why should I use a VCS? As a single developer : - Backing up versions of projects, rapid and stable releases of code updates. - You don’t need to keep each iteration of your project on your computer. - You can re-download any previous version at anytime. As a team : - It makes collaboration easier. - There is no extra set-up required to access your work. - Others can easily update the repository and use your code/source.
  • 5. SVN: What it is? - SVN is common shorthand for Subversion. - A centralized revision control system
  • 6. SVN: How it works? A Jhon Doe Jane Doe Repository
  • 7. SVN: How it works? A A A Jhon Doe Jane Doe Repository UpdateUpdate
  • 8. SVN: How it works? A A' A'' Jhon Doe Jane Doe Repository
  • 9. SVN: How it works? A' A' A'' Jhon Doe Jane Doe Repository Commit
  • 10. SVN: How it works? A' A' A'' Jhon Doe Jane Doe Repository Commit
  • 11. SVN: How it works? A' A' A'' Jhon Doe Jane Doe Repository Commit
  • 12. SVN: How it works? A' A' A* Jhon Doe Jane Doe Repository Update
  • 13. SVN: How it works? A* A' A* Jhon Doe Jane Doe Repository Commit
  • 14. SVN: How it works? A* A* A* Jhon Doe Jane Doe Repository Update
  • 15. SVN: Repository structure - Trunk - Branches - Tags
  • 16. SVN: Repository structure: Trunk - Usually meant to be the base of a project on which development progresses. - Always contains the latest cutting-edge version of the project. - May also be the most unstable version.
  • 17. SVN: Repository structure: Branches - A copy of code derived from a certain point in the trunk. - A line of development that exists independently of another line. - Used for applying major changes to the code while preserving the integrity of the code in the trunk.
  • 18. SVN: Repository structure: Tags - A “snapshot” in time on the trunk or a branch that you wish to preserve. - Allowing you to go back and reproduce any bugs if necessary in a past version, or re-release a past version exactly as it was. - Either a major release of the software, or the most stable point of the software before major revisions on the trunk were applied.
  • 19. SVN: Understand and use branches
  • 20. SVN: How to use it? - Checkout working copy into target folder : $ svn checkout "­/path/to/repository"­ "­/path/to/folder"­ - Checkout working copy into current folder : $ svn co "­/path/to/repository"­ - Update path : $ svn update "­/path"­ - Update path to revision 9 : $ svn up -r9 "­/path"­ - Add all items, recursively : $ svn add * - Add itemname (if folder, adds recursively) $ svn add itemname
  • 21. SVN: How to use it? - Delete path : $ svn delete "­/path"­ - Copy source to target : $ svn copy "­/source"­ "­/target"­ - Move source to target : $ svn move "­/source"­ "­/target"­ - Revert changes to path : $ svn revert "­/path"­ - Differences Between Files $ svn diff -r 2:7 "­/path/file"­
  • 22. SVN: How to use it? - Apply diff between revisions 2 and 7 of "­item"­ to path: $ svn merge -r2:7 "­item"­ "­/path"­ - Get path status : $ svn status "­/path"­ $ svn st "­/path"­ - Resolve conflict : $ svn resolve "­/path"­ - Commit changes to path : $ svn commit "­/path"­ $ svn ci -m "­Message"­ "­/path"­
  • 23. SVN: Further Considerations - You must do an update (and resolve any possible conflicts) before you commit your copy. - Make sure to update regularly otherwise you will have lots of conflicts. - SVN will not help you if you do not commit regularly. - If you add lots of new stuff, make sure to commit everyting.
  • 24. svn commit -m 'Thank you' Made with by @elacheche_bedis