mirror of https://github.com/CrimsonTome/tldr.git
20 lines
400 B
Markdown
20 lines
400 B
Markdown
# git svn
|
|
|
|
> Bidirectional operation between a Subversion repository and Git.
|
|
|
|
- Clone an SVN repository:
|
|
|
|
`git svn clone {{http://example.com/my_subversion_repo}} {{local_dir}}`
|
|
|
|
- Update local clone from the remote SVN repository:
|
|
|
|
`git svn rebase`
|
|
|
|
- Fetch updates from the remote SVN repository without changing the git HEAD:
|
|
|
|
`git svn fetch`
|
|
|
|
- Commit back to SVN repository:
|
|
|
|
`git svn dcommit`
|