... | ... | @@ -97,6 +97,8 @@ By default git-svn just clones the repository 'as-is', (you'll end up with a mig |
|
|
|
|
|
But you almost always want to convert subversion branches and tags. git-svn takes options to set the directories for branches and tags. If your subversion repository has the classic standard layout structure, you can use the shorthand option `--stdlayout` to convert all svn branches in `branches` and all svn tags in `tags` to git branches (if your repository has a non standard layout, there are options to instruct git-svn of the layout, see git-svn documentation).
|
|
|
|
|
|
:warning: if you use `--std-layout` on a non-standard layout, all directories at the root of your repository appart from branches/ tags/ and trunk/ will be ignored.
|
|
|
|
|
|
##### git-svn command
|
|
|
|
|
|
Checkout the subversion repository with git-svn (https://git-scm.com/docs/git-svn). It creates a git repository from the subversion repository (with all the history). You can then add your gitlab project as a git remote and push to that project:
|
... | ... | |