SlideShare a Scribd company logo
1 of 20
SVN to GIT Migration
By:
Sanjay Lakhanpal
Syed Zaigham Abbas
 Founded in 2004 ,HQ at Dallas TX,
present in multiple locations in USA and
India
 Leader in DevOps Transformation, Cloud
Enablement and Test Automation
 One of top 100 fastest growing
companies of Dallas twice in a row
 Clientele includes Fortune 50 companies
About Newt Global
Speakers
11/18/2016 Copyright 3
• Sanjay is Technical Leader, His area of expertise includes Digital
Transformation, DevOps, Test Automation Sales, Delivery and
Relationship Management
• He has 20+ years of IT industry experience and delivered multiple
enterprise scale projects for Fortune 500 customer base
SANJAY LAKHANPAL
Managing Director at
Newt Global
• Lead Engineer driving enterprise SCM tool migrations
• Hands on migration experience in migrating SVN & AccuRev to
Git
SYED ZAIGHAM ABBAS
Lead DevOps Engineer
Newt Global
Housekeeping Instructions
• All phones are set to mute. If you have any questions, please type them in the Chat
window located beside the presentation panel
• We have already received several questions from the registrants, which will be
answered by the speakers during the Q & A session
• We will continue to collect more questions during the session as we receive and will
try to answer them during today’s session
• In case if you do not receive answers to your question today, you will certainly
receive answers via email shortly
• Thanks for your participation and enjoy the session!
11/18/2016 Copyright 4
SVN to GIT Migration
Introduction
Git’s Features
Benefits of Git over SVN
Migrating from SVN to Git
Demo
Conclusion
11/18/2016 Copyright 5
Git Features
Repositories
URL
Branches
Commits
Commands
Colors
Visualize
11/18/2016 Copyright 6
Git’s Features: Repositories
As Subversion is CVCS (Centralized Version Control System) tool, for
each project there is a single repository at some detached central place
where all the history is and which you checkout and commit into.
Git works differently, each copy of the project tree (we call that the
working copy) carries its own repository around (in the .gitsubdirectory
in the project tree root). So you can have local and remote branches.
You can also have a so-called bare repositorywhich is not attached to a
working copy; that is useful especially when you want to publish your
repository
11/18/2016 Copyright 7
Git Features: URL
In Subversion the URLidentifies the location of the repository and the
path inside the repository, so you organize the layout of the repository
and its meaning.
Normally you would have trunk/, branches/and tags/directories.
In Gitthe URLis just the location of the repository, and it always contains
branches and tags.
One of the branches is the default (normally named master).
11/18/2016 Copyright 8
Git’s Features: Branches
In Subversion branches are just additional folders containing a copy of the code
base.
When an SVN branch is merged, the branch has to be deleted to prevent an
erroneous merge back to trunk in future.
GHE branches however have their own history and revision tree giving
you explicit information from where it was forked, what commits have
happened and if it has been merged into another branch or not. This
makes branch history management much easier.
In GHE, the branch history is maintained and is completely traceable.
Tracking merge history is a serious problem with SVN.
11/18/2016 Copyright 9
Git’s Features: Commits
Each commit has an author and a committer field, which record who
and when created the change and who committed it
Git is designed to work well with patches coming by mail -in that case,
the author and the committer will be different.
•Git config --global user.name "Your Name Comes Here"
•Git config --global user.emailyou@yourdomain.example.com
Git will try to guess your real name and email, but especially with email
it is likely to get it wrong. You can check it using git config -l and set
them with:
11/18/2016 Copyright 10
Git Features: Commands
•Eg- “git commit …. “
The Git commands are in the form “git command <command_name>”.
•Eg “git-commit ….”
You can interchangeably use the git-command form as well
11/18/2016 Copyright 11
Git Features: Colours
• Git can produce colorful output for commands
• Colors are disabled by default
11/18/2016 Copyright 12
Git Features: Visualize
11/18/2016 Copyright 13
Git comes with built-in
GUI tools for committing
(git-gui) and browsing
(gitk), but there are
several third-party tools
for users looking for
platform-specific
experience.
Watch your repository
using the GitHub
Desktop viewer as you
go.
Git Features: Visualize (Eclipse)
11/18/2016 Copyright 14
Benefits of Git over SVN
11/18/2016 Copyright 15
SVN GIT
Distributed Nature
User Interface Branch Handling
Single Repository Performance
Space Requirements
Importing an SVN repo into git
• Get read-only user access for SVN repository
• gitsvn utility is available in local environment
• Download svn-migration-scripts.jar from
https://bitbucket.org/atlassian/svn-migration-
scripts/downloads
Prerequisites:
• Get Org. name, team name and members from the respective
teams.
• Setup Organization.
• Setup Team and assign team members.
• Create repository and push the code from lab.
Setup Remote GitHub Server
11/18/2016 Copyright 16
Importing an SVN repo into git
•java -jar ~/svn-migration-scripts.jar authors <SVN Repo URL> > authors.txt
Create the users list from the SVN
•git svn clone --stdlayout --authors-file=authors.txt <SVN Repo URL> <GitHub Repo Name>
Clone your SVN repo into as a Git
•git remote add origin <GitHub Repo URL>
Add the GitHub repository
•git push –u origin master
Push the code to remote GitHub
•java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar clean-git --force
Bring the SVN branches and tags as in local Git
•git push --all
Push the branches and tags to Remote GitHub
11/18/2016 Copyright 17
Demo
11/18/2016 Copyright 18
Contact Us
For any questions/clarifications please contact:
Satheesh Reddy, Sales Manager
Newt Global Consulting LLC.
satheeshr@newtglobalcorp.com
http://newtglobal.com/
11/18/2016 Copyright 19
11/18/2016 Copyright 20

More Related Content

What's hot

Evolution of Version Control In Open Source
Evolution of Version Control In Open SourceEvolution of Version Control In Open Source
Evolution of Version Control In Open SourceChris Aniszczyk
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshareRakesh Sukumar
 
Version Control History and Git Basics
Version Control History and Git BasicsVersion Control History and Git Basics
Version Control History and Git BasicsSreedath N S
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflowsArthur Shvetsov
 
An introduction to Git and GitFlow
An introduction to Git and GitFlowAn introduction to Git and GitFlow
An introduction to Git and GitFlowMark Everard
 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagramsDilum Navanjana
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHubDSCVSSUT
 
HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubGDSCIIITBbsr
 
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitRobert Lee-Cann
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHubNishan Bose
 
Training: Day Two - Eclipse, Git, Maven
Training: Day Two - Eclipse, Git, MavenTraining: Day Two - Eclipse, Git, Maven
Training: Day Two - Eclipse, Git, MavenArtur Ventura
 
Software Versioning with Bitbucket and Eclipse
Software Versioning with Bitbucket and EclipseSoftware Versioning with Bitbucket and Eclipse
Software Versioning with Bitbucket and EclipseHüseyin Ergin
 
Git: A Getting Started Presentation
Git: A Getting Started PresentationGit: A Getting Started Presentation
Git: A Getting Started PresentationNap Ramirez
 

What's hot (20)

Introduction git
Introduction gitIntroduction git
Introduction git
 
Git presentation
Git presentationGit presentation
Git presentation
 
Evolution of Version Control In Open Source
Evolution of Version Control In Open SourceEvolution of Version Control In Open Source
Evolution of Version Control In Open Source
 
Basic Git Intro
Basic Git IntroBasic Git Intro
Basic Git Intro
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
 
Git tutorial
Git tutorial Git tutorial
Git tutorial
 
Git best practices 2016
Git best practices 2016Git best practices 2016
Git best practices 2016
 
Version Control History and Git Basics
Version Control History and Git BasicsVersion Control History and Git Basics
Version Control History and Git Basics
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
 
An introduction to Git and GitFlow
An introduction to Git and GitFlowAn introduction to Git and GitFlow
An introduction to Git and GitFlow
 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagrams
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
 
HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHub
 
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
 
Training: Day Two - Eclipse, Git, Maven
Training: Day Two - Eclipse, Git, MavenTraining: Day Two - Eclipse, Git, Maven
Training: Day Two - Eclipse, Git, Maven
 
Software Versioning with Bitbucket and Eclipse
Software Versioning with Bitbucket and EclipseSoftware Versioning with Bitbucket and Eclipse
Software Versioning with Bitbucket and Eclipse
 
Git: A Getting Started Presentation
Git: A Getting Started PresentationGit: A Getting Started Presentation
Git: A Getting Started Presentation
 

Viewers also liked

7. replication internals scott hernandez
7. replication internals scott hernandez7. replication internals scott hernandez
7. replication internals scott hernandezMongoDB
 
Secret Life of a Weather Datum end of project event
Secret Life of a Weather Datum end of project eventSecret Life of a Weather Datum end of project event
Secret Life of a Weather Datum end of project eventlifeofdata
 
Mgidigitalglobalization
MgidigitalglobalizationMgidigitalglobalization
MgidigitalglobalizationVera Kovaleva
 
Heavy Metal PowerPivot Remastered
Heavy Metal PowerPivot RemasteredHeavy Metal PowerPivot Remastered
Heavy Metal PowerPivot RemasteredJason Himmelstein
 
Revving Up Revenue By Replenishing
Revving Up Revenue By ReplenishingRevving Up Revenue By Replenishing
Revving Up Revenue By ReplenishingWhatConts
 
Samanage-Website-Redesign-Jan2017
Samanage-Website-Redesign-Jan2017Samanage-Website-Redesign-Jan2017
Samanage-Website-Redesign-Jan2017WhatConts
 
Division of roles and responsibilities
Division of roles and responsibilitiesDivision of roles and responsibilities
Division of roles and responsibilitieskausargulaid
 
2016 SRA Globalization Poster_Justice_Caruson
2016 SRA Globalization Poster_Justice_Caruson2016 SRA Globalization Poster_Justice_Caruson
2016 SRA Globalization Poster_Justice_CarusonSandy Justice
 
онлайн бронирование модуль для турагенств
онлайн бронирование модуль для турагенствонлайн бронирование модуль для турагенств
онлайн бронирование модуль для турагенствAdrian Parker
 
Science Communication 2.0: changing University attitude through Science resea...
Science Communication 2.0: changing University attitude through Science resea...Science Communication 2.0: changing University attitude through Science resea...
Science Communication 2.0: changing University attitude through Science resea...Miquel Duran
 
Cartagena Data Festival | Telling Stories with Data 2015 04-21
Cartagena Data Festival | Telling Stories with Data 2015 04-21Cartagena Data Festival | Telling Stories with Data 2015 04-21
Cartagena Data Festival | Telling Stories with Data 2015 04-21ulrichatz
 
MongoDB and AWS Best Practices
MongoDB and AWS Best PracticesMongoDB and AWS Best Practices
MongoDB and AWS Best PracticesMongoDB
 
BPM & Enterprise Middleware - Datasheet
BPM & Enterprise Middleware - DatasheetBPM & Enterprise Middleware - Datasheet
BPM & Enterprise Middleware - DatasheetXpand IT
 
Grow Customer Retention with Predictive Marketing and User-Generated Content
Grow Customer Retention with Predictive Marketing and User-Generated ContentGrow Customer Retention with Predictive Marketing and User-Generated Content
Grow Customer Retention with Predictive Marketing and User-Generated ContentWhatConts
 
Microsoft xamarin-experience
Microsoft xamarin-experienceMicrosoft xamarin-experience
Microsoft xamarin-experienceXpand IT
 

Viewers also liked (20)

7. replication internals scott hernandez
7. replication internals scott hernandez7. replication internals scott hernandez
7. replication internals scott hernandez
 
Demystify DevOps
Demystify DevOpsDemystify DevOps
Demystify DevOps
 
Secret Life of a Weather Datum end of project event
Secret Life of a Weather Datum end of project eventSecret Life of a Weather Datum end of project event
Secret Life of a Weather Datum end of project event
 
Mgidigitalglobalization
MgidigitalglobalizationMgidigitalglobalization
Mgidigitalglobalization
 
Heavy Metal PowerPivot Remastered
Heavy Metal PowerPivot RemasteredHeavy Metal PowerPivot Remastered
Heavy Metal PowerPivot Remastered
 
Revving Up Revenue By Replenishing
Revving Up Revenue By ReplenishingRevving Up Revenue By Replenishing
Revving Up Revenue By Replenishing
 
Heyat terzi report (Mart 2016)
Heyat terzi report (Mart 2016)Heyat terzi report (Mart 2016)
Heyat terzi report (Mart 2016)
 
Samanage-Website-Redesign-Jan2017
Samanage-Website-Redesign-Jan2017Samanage-Website-Redesign-Jan2017
Samanage-Website-Redesign-Jan2017
 
Division of roles and responsibilities
Division of roles and responsibilitiesDivision of roles and responsibilities
Division of roles and responsibilities
 
2016 SRA Globalization Poster_Justice_Caruson
2016 SRA Globalization Poster_Justice_Caruson2016 SRA Globalization Poster_Justice_Caruson
2016 SRA Globalization Poster_Justice_Caruson
 
онлайн бронирование модуль для турагенств
онлайн бронирование модуль для турагенствонлайн бронирование модуль для турагенств
онлайн бронирование модуль для турагенств
 
Creative Overview
Creative OverviewCreative Overview
Creative Overview
 
Part 1
Part 1Part 1
Part 1
 
Science Communication 2.0: changing University attitude through Science resea...
Science Communication 2.0: changing University attitude through Science resea...Science Communication 2.0: changing University attitude through Science resea...
Science Communication 2.0: changing University attitude through Science resea...
 
Cartagena Data Festival | Telling Stories with Data 2015 04-21
Cartagena Data Festival | Telling Stories with Data 2015 04-21Cartagena Data Festival | Telling Stories with Data 2015 04-21
Cartagena Data Festival | Telling Stories with Data 2015 04-21
 
MongoDB and AWS Best Practices
MongoDB and AWS Best PracticesMongoDB and AWS Best Practices
MongoDB and AWS Best Practices
 
BPM & Enterprise Middleware - Datasheet
BPM & Enterprise Middleware - DatasheetBPM & Enterprise Middleware - Datasheet
BPM & Enterprise Middleware - Datasheet
 
Ov big data
Ov big dataOv big data
Ov big data
 
Grow Customer Retention with Predictive Marketing and User-Generated Content
Grow Customer Retention with Predictive Marketing and User-Generated ContentGrow Customer Retention with Predictive Marketing and User-Generated Content
Grow Customer Retention with Predictive Marketing and User-Generated Content
 
Microsoft xamarin-experience
Microsoft xamarin-experienceMicrosoft xamarin-experience
Microsoft xamarin-experience
 

Similar to Webinar : SVN to GIT Migration

Version control git day02
Version control   git day02Version control   git day02
Version control git day02Gourav Varma
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing selfChen-Tien Tsai
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03Gourav Varma
 
Version control git day03(amarnath dada)
Version control   git day03(amarnath dada)Version control   git day03(amarnath dada)
Version control git day03(amarnath dada)Gourav Varma
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
 
Bitbucket as a code server and pmt
Bitbucket as a code server and pmt Bitbucket as a code server and pmt
Bitbucket as a code server and pmt malike4u
 
Git usage (Basics and workflow)
Git usage (Basics and workflow)Git usage (Basics and workflow)
Git usage (Basics and workflow)Yeasin Abedin
 
Git for developers
Git for developersGit for developers
Git for developersHacen Dadda
 
August OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub ExplainedAugust OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub ExplainedHoward Greenberg
 
Git interview questions | Edureka
Git interview questions | EdurekaGit interview questions | Edureka
Git interview questions | EdurekaEdureka!
 
Optimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarOptimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarCollabNet
 

Similar to Webinar : SVN to GIT Migration (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!
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
 
Version control git day03(amarnath dada)
Version control   git day03(amarnath dada)Version control   git day03(amarnath dada)
Version control git day03(amarnath dada)
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
 
Bitbucket as a code server and pmt
Bitbucket as a code server and pmt Bitbucket as a code server and pmt
Bitbucket as a code server and pmt
 
Git tech
Git techGit tech
Git tech
 
Git usage (Basics and workflow)
Git usage (Basics and workflow)Git usage (Basics and workflow)
Git usage (Basics and workflow)
 
Git
GitGit
Git
 
Git
GitGit
Git
 
Git for developers
Git for developersGit for developers
Git for developers
 
Introduction to git & github
Introduction to git & githubIntroduction to git & github
Introduction to git & github
 
August OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub ExplainedAugust OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub Explained
 
Git interview questions | Edureka
Git interview questions | EdurekaGit interview questions | Edureka
Git interview questions | Edureka
 
Optimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarOptimize Your Enterprise Git Webinar
Optimize Your Enterprise Git Webinar
 

More from Newt Global Consulting LLC

More from Newt Global Consulting LLC (8)

Why Cloud and DevOps are interlinked?
Why Cloud and DevOps are interlinked?Why Cloud and DevOps are interlinked?
Why Cloud and DevOps are interlinked?
 
Webinar : Microservices and Containerization
Webinar : Microservices and ContainerizationWebinar : Microservices and Containerization
Webinar : Microservices and Containerization
 
Webinar : Docker in Production
Webinar : Docker in ProductionWebinar : Docker in Production
Webinar : Docker in Production
 
Webinar Docker Tri Series
Webinar Docker Tri SeriesWebinar Docker Tri Series
Webinar Docker Tri Series
 
Whitepaper : Testing Micro Services Part I & Part 2
Whitepaper : Testing Micro Services Part I & Part 2Whitepaper : Testing Micro Services Part I & Part 2
Whitepaper : Testing Micro Services Part I & Part 2
 
Whitepaper : Microservices In or Out
Whitepaper : Microservices   In or OutWhitepaper : Microservices   In or Out
Whitepaper : Microservices In or Out
 
Whitepaper : Event Driven Micro Services
Whitepaper : Event Driven Micro ServicesWhitepaper : Event Driven Micro Services
Whitepaper : Event Driven Micro Services
 
Whitepaper : Building an Efficient Microservices Architecture
Whitepaper : Building an Efficient Microservices ArchitectureWhitepaper : Building an Efficient Microservices Architecture
Whitepaper : Building an Efficient Microservices Architecture
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
[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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
[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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Webinar : SVN to GIT Migration

  • 1. SVN to GIT Migration By: Sanjay Lakhanpal Syed Zaigham Abbas
  • 2.  Founded in 2004 ,HQ at Dallas TX, present in multiple locations in USA and India  Leader in DevOps Transformation, Cloud Enablement and Test Automation  One of top 100 fastest growing companies of Dallas twice in a row  Clientele includes Fortune 50 companies About Newt Global
  • 3. Speakers 11/18/2016 Copyright 3 • Sanjay is Technical Leader, His area of expertise includes Digital Transformation, DevOps, Test Automation Sales, Delivery and Relationship Management • He has 20+ years of IT industry experience and delivered multiple enterprise scale projects for Fortune 500 customer base SANJAY LAKHANPAL Managing Director at Newt Global • Lead Engineer driving enterprise SCM tool migrations • Hands on migration experience in migrating SVN & AccuRev to Git SYED ZAIGHAM ABBAS Lead DevOps Engineer Newt Global
  • 4. Housekeeping Instructions • All phones are set to mute. If you have any questions, please type them in the Chat window located beside the presentation panel • We have already received several questions from the registrants, which will be answered by the speakers during the Q & A session • We will continue to collect more questions during the session as we receive and will try to answer them during today’s session • In case if you do not receive answers to your question today, you will certainly receive answers via email shortly • Thanks for your participation and enjoy the session! 11/18/2016 Copyright 4
  • 5. SVN to GIT Migration Introduction Git’s Features Benefits of Git over SVN Migrating from SVN to Git Demo Conclusion 11/18/2016 Copyright 5
  • 7. Git’s Features: Repositories As Subversion is CVCS (Centralized Version Control System) tool, for each project there is a single repository at some detached central place where all the history is and which you checkout and commit into. Git works differently, each copy of the project tree (we call that the working copy) carries its own repository around (in the .gitsubdirectory in the project tree root). So you can have local and remote branches. You can also have a so-called bare repositorywhich is not attached to a working copy; that is useful especially when you want to publish your repository 11/18/2016 Copyright 7
  • 8. Git Features: URL In Subversion the URLidentifies the location of the repository and the path inside the repository, so you organize the layout of the repository and its meaning. Normally you would have trunk/, branches/and tags/directories. In Gitthe URLis just the location of the repository, and it always contains branches and tags. One of the branches is the default (normally named master). 11/18/2016 Copyright 8
  • 9. Git’s Features: Branches In Subversion branches are just additional folders containing a copy of the code base. When an SVN branch is merged, the branch has to be deleted to prevent an erroneous merge back to trunk in future. GHE branches however have their own history and revision tree giving you explicit information from where it was forked, what commits have happened and if it has been merged into another branch or not. This makes branch history management much easier. In GHE, the branch history is maintained and is completely traceable. Tracking merge history is a serious problem with SVN. 11/18/2016 Copyright 9
  • 10. Git’s Features: Commits Each commit has an author and a committer field, which record who and when created the change and who committed it Git is designed to work well with patches coming by mail -in that case, the author and the committer will be different. •Git config --global user.name "Your Name Comes Here" •Git config --global user.emailyou@yourdomain.example.com Git will try to guess your real name and email, but especially with email it is likely to get it wrong. You can check it using git config -l and set them with: 11/18/2016 Copyright 10
  • 11. Git Features: Commands •Eg- “git commit …. “ The Git commands are in the form “git command <command_name>”. •Eg “git-commit ….” You can interchangeably use the git-command form as well 11/18/2016 Copyright 11
  • 12. Git Features: Colours • Git can produce colorful output for commands • Colors are disabled by default 11/18/2016 Copyright 12
  • 13. Git Features: Visualize 11/18/2016 Copyright 13 Git comes with built-in GUI tools for committing (git-gui) and browsing (gitk), but there are several third-party tools for users looking for platform-specific experience. Watch your repository using the GitHub Desktop viewer as you go.
  • 14. Git Features: Visualize (Eclipse) 11/18/2016 Copyright 14
  • 15. Benefits of Git over SVN 11/18/2016 Copyright 15 SVN GIT Distributed Nature User Interface Branch Handling Single Repository Performance Space Requirements
  • 16. Importing an SVN repo into git • Get read-only user access for SVN repository • gitsvn utility is available in local environment • Download svn-migration-scripts.jar from https://bitbucket.org/atlassian/svn-migration- scripts/downloads Prerequisites: • Get Org. name, team name and members from the respective teams. • Setup Organization. • Setup Team and assign team members. • Create repository and push the code from lab. Setup Remote GitHub Server 11/18/2016 Copyright 16
  • 17. Importing an SVN repo into git •java -jar ~/svn-migration-scripts.jar authors <SVN Repo URL> > authors.txt Create the users list from the SVN •git svn clone --stdlayout --authors-file=authors.txt <SVN Repo URL> <GitHub Repo Name> Clone your SVN repo into as a Git •git remote add origin <GitHub Repo URL> Add the GitHub repository •git push –u origin master Push the code to remote GitHub •java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar clean-git --force Bring the SVN branches and tags as in local Git •git push --all Push the branches and tags to Remote GitHub 11/18/2016 Copyright 17
  • 19. Contact Us For any questions/clarifications please contact: Satheesh Reddy, Sales Manager Newt Global Consulting LLC. satheeshr@newtglobalcorp.com http://newtglobal.com/ 11/18/2016 Copyright 19