1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/git-svn.md
2016-09-20 08:27:09 +01:00

19 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`