Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lrytz opened this issue May 14, 2014 · 0 comments
Open

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

lrytz opened this issue May 14, 2014 · 0 comments

Comments

@lrytz
Copy link
Owner

lrytz commented May 14, 2014

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant