# git-svn : can dcommit commit tags ?

1 messages from 2010-10-14 to 2010-10-14. Participants: Philippe De Muyter.
Thread: https://gitlist.dev/t/25446

## Philippe De Muyter, 2010-10-14 12:53

Subject: git-svn : can dcommit commit tags ?
Message-ID: <20101014125334.GA20464@frolo.macqel>
URL: https://gitlist.dev/e/20101014125334.GA20464%40frolo.macqel

```
Hello list,

I have used git for a project, and I am now requested :( to convert
the repo to a svn repo.

I use the following script :

    SVNREPO=${SVNDIR}repo
    svnadmin create ${SVNREPO}
    cd ${GITDIR}
    svn mkdir --parents file://${SVNREPO}/{trunk,tags,branches} -m "Creating repo"
    git svn init file://${SVNREPO} -s
    git svn fetch
    git rebase trunk
    git status
    git svn dcommit -A ~/authorname
    git log
    git tag
    cd ..
    svn co file://${SVNREPO} ${SVNDIR}
    cd ${SVNDIR}
    svn log
    svn ls file://${SVNREPO}/tags

But I did not find a way to recreate the existing git tags in the
svn repository.

How can I achieve that ?

Thanks in advance

Philippe De Muyter

```
