Re: How to convert SVN tags to git tags?
- From
- Eric 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.