How to convert SVN tags to git tags?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

               C4
               |
               V
    T -> C3 -> C2
               |
               V
               C1

that is, I still have a branch with only 1 commit C3 and I have a tag T
pointing to that commit.  Also, T will have a current timestamp.  I'd
prefer to get

               C4
               |
               V
          T -> C2
               |
               V
               C1

where T takes the commit message and date from C3.  How can I achieve
that?

Steve



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux