git-svn
Bidirectional bridge between Git and Subversion
TLDR
Clone SVN repository
$ git svn clone [svn://server/repo]
Clone with standard layout$ git svn clone -s [svn://server/repo]
Fetch SVN changes$ git svn fetch
Rebase on SVN$ git svn rebase
Commit to SVN$ git svn dcommit
SYNOPSIS
git svn command [options]
DESCRIPTION
git svn provides bidirectional operation between Git and Subversion repositories. It allows developers to use Git locally while working with an SVN server, enabling full Git workflows for teams still using Subversion.
The command clones SVN repos into Git, syncs changes in both directions, and maps SVN's trunk/branches/tags structure to Git branches.
PARAMETERS
clone URL
Clone SVN repository.fetch
Fetch from SVN.rebase
Rebase on SVN commits.dcommit
Push commits to SVN.-s, --stdlayout
Standard trunk/branches/tags layout.-T PATH
Trunk path.-b PATH
Branches path.--help
Display help information.
CAVEATS
Some git features don't map to SVN. History rewriting breaks svn tracking. Slower than native git.
HISTORY
git svn enables gradual migration from Subversion to Git, allowing teams to use git locally while maintaining SVN compatibility.
