Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6923411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:31:57+00:00 2026-05-27T10:31:57+00:00

I have a SVN repository that looks something like this: branches …various branches (none

  • 0

I have a SVN repository that looks something like this:

  • branches
    • …various branches (none yet)
  • tags
    • …various tags (none yet)
  • trunk
    • common
    • doc
    • extlib
    • proj

I run:

git svn clone --stdlayout https://[SVN URL]/svn/MyProject "C:\_build\WorkingFolders\Myproject_gitcopy"

The command appears to execute successfully.

I expect to see the “branches”, “tags” and “trunk” folder in the cloned directory since we cloned the entire repository. Instead, I see “common”, “doc”, “extlib”, and “proj”.

It appears that git has only cloned the trunk of my repository. Does anyone know why this might be, and how to fix it? Or am I just seeing it incorrectly?

Thanks in advance for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:31:58+00:00Added an answer on May 27, 2026 at 10:31 am

    Actually, git svn is trying to help you by being smart :-).

    git treats tags and branches differently from Subversion. In Subversion, tags and branches don’t exist as separate technical concepts; they are just copies of the tree under special directories.

    git actually has branches as “real” objects. git svn therefore automatically converts Subversion branches and tags to git branches (*).

    To see branches in git, do

    git branch -a
    

    (-a makes it include remote-tracking branches). That should show you the branches and tags from the SVN repo.

    (*) Note: git svn does not create git tags from Subversion tags, because in Subversion there is technically no distinction between tags and branches (it’s just a convention). Since it’s not entirely clear how to distinguish tags & branches in Subversion, git svn just imports them all as branches. See e.g. Debian bug #501761: git-svn –tags should at least /try/ to handle tags as tags.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SVN project at work that looks like this: Repository project |--
I have a repository that has the following directories: branches tags trunk The trunk
I have some files in my SVN repository that I would like to have
I have an svn repository that is slated EOL, and the various projects are
I have some code that I want to put into an svn repository for
We have a single SVN repository with multiple related projects. Like so... \repo \Project1
I currently have a large (30K commits) SVN repository that I am in the
I want to convert an existing SVN repository with a nonstandard layout that looks
I have a large Hg repository (2+GB) that was converted from an svn repository.
All examples of svn branching I have seen so far look like this svn

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.