mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
19 lines
398 B
Markdown
19 lines
398 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 upstream SVN repository:
|
|
|
|
`git svn rebase`
|
|
|
|
- Fetch updates from remote SVN repository without changing the GIT HEAD:
|
|
|
|
`git svn fetch`
|
|
|
|
- Commit back to SVN repository:
|
|
|
|
`git svn dcommit`
|