Skip to content

HOWTO: git - svn - tags - upgrading - etc #1

@lrytz

Description

@lrytz

Initial clone

git svn clone svn://svn.forge.objectweb.org/svnroot/asm -T trunk/asm -t tags --prefix=upstream/

Create Tags (from SO), prints a list of commands that create the tags:

git for-each-ref --format="%(refname:short) %(objectname)" refs/remotes/upstream/tags |  cut -d / -f 3- |
while read ref
do
  echo git tag -a $ref -m '"import tag from svn"'
done

Push Tags

git push --tags

Get Latest from SVN

git svn fetch
git merge upstream/trunk
==> create tags again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions