summaryrefslogtreecommitdiffstats
path: root/tools/git-migration/README
blob: 2535d5e75f74325f5fb1bb1c202b7fadb30b0653 (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 git+ssh://git.debian.org/git/debian-security/debian-security.git
 $ git config remote.new-repo.push 'refs/remotes/*:refs/heads/*'
 $ git push --new-upstream new-repo master

4/ On the bare repo rename trunk to master branch

 $ git branch -m trunk master

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