summaryrefslogtreecommitdiffstats
path: root/tools/git-migration/README
blob: 03b827abb33c87e99189b478b9aa982ee880db26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Howto for conversion (WIP)
--------------------------
1/ On alioth generate the AUTHORS.txt lists via fetch-authors script.

2/ Clone the subversion repository using git-svn:

 $ git svn clone svn+ssh://svn.debian.org/svn/secure-testing --prefix=origin/ -no-metadata -A AUTHORS.txt tmp-git-repo

3/ Push repository to new bare git repo

 $ cd tmp-git-repo
 $ git remote add new-repo svn+ssh://git.debian.org/git/debian-security/debian-security.git
 $ git config remote.new-repo.push refs/remotes/*:refs/heads/*'
 $ git push new-repo

4/ On the bare repo rename trunk to master branch

 $ git branch -m trunk master

© 2014-2024 Faster IT GmbH | imprint | privacy policy