Skip to main content
Enterprise Agile Planning icon with arrows

This post is from the CollabNet VersionOne blog and has not been updated since the original publish date.

Last Updated Mar 25, 2013 — Enterprise Agile Planning expert

Git and Subversion Bridge

Enterprise Agile Planning

Git and SVN BridgeApache Subversion® since its inception in 1999 continues to be the most widely adopted version control software in the majority of open source development projects and a large number of corporate projects. However in the recent years DVCS has started becoming popular and usually have the following properties in common:

• Development History of repository is available locally on disk.
• Operations like commits, viewing history, and reverting changes doesn’t require any network connectivity to server.
• Multiple central repository

Since 2005 Git has evolved as a world’s leading DVCS (distributed version control system). What makes Git distinct from nearly every other SCM out there is its branching model. Git makes merging simple and also you will have “local” benefits (stash, index and speed). Git SVN-Bridge is a bi-directional utility that is bundled with canonical Git written in C and Perl that allows you to have the repository in Subversion and use Git as an SVN client. This let users have access to a local Git repository and use a bunch of Git features like local branching and merging, use the staging area, rebasing while having the repository hosted in Subversion.

Example: A default workflow

Clone the SVN repository as follows

git svn clone REPO_URL

Create a new branch to modify or work on a new feature

git checkout -b new_branch

Work on your newly created branch in the local repository as usual. Once complete, you can switch to the master branch and merge your changes to master.

git checkout master
git merge new_branch

When complete, don’t forget to update your SVN repository, by rebasing

git svn rebase

Now you can commit back to the SVN repository,

git svn dcommit

Using Git-SVN Bridge as an SVN client gives the developer a freedom to use some of the features offered by Git.

For more information on Git and Subversion visit the following link:

More from the Blog

View more Government Cloud
Apr 12, 2022 Government Cloud receives FedRAMP Authorization through sponsorship from the United States Department of Veterans Affairs

Enterprise Agile Planning
Flagship Agility solutions can effectively scale agile deve ...
Read More
Nov 22, 2021

What are the qualities of highly effective agile teams?

Enterprise Agile Planning
A team is the core unit of productivity in an agile organization. Wher ...
Read More
Nov 15, 2021

How an open-first attitude revolutionized government tech development

Enterprise Agile Planning
Public perception of government is often that it is slow-moving, reluc ...
Read More
cross functional
Nov 08, 2021

6 best practices for building resilient cross-functional teams

Enterprise Agile Planning
Agile frameworks prize the quality of resilience within every facet of ...
Read More
Contact Us