2016-01-05 01:03:43 +00:00
|
|
|
# git svn
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Bidirectional operation between a Subversion repository and Git.
|
2016-01-05 01:03:43 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Clone an SVN repository:
|
2016-01-05 01:03:43 +00:00
|
|
|
|
|
|
|
`git svn clone {{http://example.com/my_subversion_repo}} {{local_dir}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Update local clone from the upstream SVN repository:
|
2016-01-05 01:03:43 +00:00
|
|
|
|
|
|
|
`git svn rebase`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Commit back to SVN repository:
|
2016-01-05 01:03:43 +00:00
|
|
|
|
|
|
|
`git svn dcommit`
|