diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2015-01-17 23:45:18 +0000 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2015-01-17 23:45:18 +0000 |
commit | e708c45c9ca605a11e15a0494f7a968a5aab69b8 (patch) | |
tree | df39915d277192bf28dcb54fa71d53512d6aa482 | |
parent | c40f185378603bdaa24a6ec6e1c60d66d087eac5 (diff) |
Add WIP README for the svn-git conversion
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31474 e39458fd-73e7-0310-bf30-c45bca0a0e42
-rw-r--r-- | tools/git-migration/README | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/git-migration/README b/tools/git-migration/README new file mode 100644 index 0000000000..03b827abb3 --- /dev/null +++ b/tools/git-migration/README @@ -0,0 +1,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 + |