mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 11:15:26 +02:00
git-svn: add example for making a shallow clone (#1136)
This commit is contained in:
parent
1928329a65
commit
21e92ecc78
1 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,11 @@
|
|||
|
||||
- Clone an SVN repository:
|
||||
|
||||
`git svn clone {{http://example.com/my_subversion_repo}} {{local_dir}}`
|
||||
`git svn clone {{https://example.com/subversion_repo}} {{local_dir}}`
|
||||
|
||||
- Clone a SVN repository starting at a given revision number:
|
||||
|
||||
`git svn clone -r{{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}`
|
||||
|
||||
- Update local clone from the remote SVN repository:
|
||||
|
||||
|
@ -14,6 +18,6 @@
|
|||
|
||||
`git svn fetch`
|
||||
|
||||
- Commit back to SVN repository:
|
||||
- Commit back to the SVN repository:
|
||||
|
||||
`git svn dcommit`
|
||||
|
|
Loading…
Add table
Reference in a new issue