git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to convert SVN tags to git tags?

From
EWEric Wong <e@80x24.org>
Date
Jan 18, 2019, 22:31 UTC
Message-ID
<20190118223147.bcmyh4g7rxancgii@dcvr>
In-Reply-To
<trinity-9f702373-ab1b-4c3e-9418-894ab0a6ef5a-1547815808777@3c-app-gmx-bs22>
Steve Keller <keller.steve@gmx.de> wrote:
> After converting from SVN to git using git svn init + git svn fetch,
> my SVN tags appear as remote branches in git.  I find many suggestions
> to convert these to git tags by calling git tag -a <tag-name> <branch-name>
> but this gives something like this

Hi Steve, instead of an annotated tag ("-a"), you can use a lightweight tag by omitting the "-a".

Fwiw, I chose to map SVN "tags" to remote branches in git since some projects I followed back in the day had moving tags in SVN.

Previous: Steve Keller
Message 2 of 2 in “How to convert SVN tags to git tags?”
  1. Steve KellerJan 18, 2019
  2. Eric WongJan 18, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.