title: Migrating SVN to git doesn't migrate the tags to Azure DevOps
body: <p>I'll migrate repositories from an own subversion server to a Azure DevOps git repository. For that I'm using next commands:</p>
  
  <pre class="lang-bsh prettyprint-override"><code># Cloning
  git svn clone --stdlayout --authors-file=autors.txt "http://www.subversion.com/svn/&lt;repoName&gt;" &lt;repoName&gt;
  Set-Location &lt;repoName&gt;
  
  # Creation of the repository using the REST APIs of DevOps by a .NET application
  
  # Pushing
  git remote add origin "https://organisation@dev.azure.com/organisation/repoName/_git/repoName";
  git push -u origin --all;
  git push origin --tags;
  
  # Pushing each branch
  [string[]]$svnBranches = svn ls "http://www.subversion.com/svn/&lt;repoName&gt;/branches/";
  
  $svnBranches | ForEach-Object {
      [string]$name = $_.TrimEnd("/");
      Write-Host $name;
      git checkout $name;
      git push;
  }
  </code></pre>
  
  <p>The problem is that the tags aren't pushed to DevOps. I've searched everywhere and found <a href="https://stackoverflow.com/questions/18216991/create-a-tag-in-a-github-repository"><code>git push origin --tags</code></a> but this doesn't work.</p>
  
  <p>I've created the workaround for the branches to keep them in the DevOps repository, otherwise they are removed too.</p>
  
  <p>This workaround I can't reuse for the tags because <code>git tag -l</code> gives no results and <code>svn ls "http://www.subversion.com/svn/&lt;repoName&gt;/tags/"</code> this error:</p>
  
  <blockquote>
    <p><code>svn: E170013:</code> Unable to connect to a repository at URL <code>http://www.subversion.com/svn/&lt;repoName&gt;/tags/</code></p>
    
    <p><code>svn: E175003:</code> The server at <code>http://www.subversion.com/svn/&lt;repoName&gt;/tags/</code> does not support the HTTP/DAV protocol</p>
  </blockquote>
  
  <p>What else can I do to migrate the tags to the Azure DevOps git repository?</p>