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

  • Home
  • SEARCH
  • 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 398333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:44:17+00:00 2026-05-12T16:44:17+00:00

This is the scenario: I copied my subversion trunk into a tag A. I

  • 0

This is the scenario:

  • I copied my subversion trunk into a tag “A”.
  • I then ran ‘git svn fetch’ from my local repository which found the branch point and added it as the remote branch ‘svn/tags/A’.
  • Later I removed tag “A” from subversion, and again ran ‘git svn fetch’.
  • I did a ‘git branch -rd svn/tags/A’ to remove the dangling remote branch from my local repository.
  • At a later junction I created a new tag called “A” in my subversion repository. A ‘git svn fetch’ found the branch point but here’s the problem:

My local git repository thinks that ‘svn/tags/A’ points to the old commits from the deleted branch. I’ve spotted some references to ‘A’ in ‘.git/svn/svn/tags’, maybe they’re screwing with me. But when I fire up another git repository and remove those files before running ‘git svn fetch’ I still get ‘svn/tags/A’ pointing at the wrong commit.

Is there any way of clearing out a remote subversion branch and rereading it into my local git repository?

Edit: I’ve sort of gotten this to work, but I’m not really sure of the mechanics of it.
I moved out the references in ‘.git/svn/svn/tags’ to branch ‘A’, then did a ‘git svn reset -r 1000’, where r1000 was the commit immediately before the point I branched. Then did another ‘git svn fetch’ and it looks like it worked.
‘svn/tags/A’ now points to the new commit.

  • 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-12T16:44:17+00:00Added an answer on May 12, 2026 at 4:44 pm

    git svn reset allows to change rev_map and refs/remotes/git-svn which would allow git to rebuild its reference to the new SVN tag.
    Note: git svn update does not exist.
    git svn rebase or better: first git svn fetch should be used here, with a potential git rebase --onto as mentioned in the documentation, if you did some work on the git side.

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

Sidebar

Ask A Question

Stats

  • Questions 255k
  • Answers 255k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You should consider looking into Sass and Compass. Sass gives… May 13, 2026 at 10:16 am
  • Editorial Team
    Editorial Team added an answer SELECT CASE WHEN [Option] IN (1, 3, 99) THEN 'Wrong… May 13, 2026 at 10:16 am
  • Editorial Team
    Editorial Team added an answer I've tried your code and it seem to be working… May 13, 2026 at 10:16 am

Related Questions

Reflective/Cyclic Merging This is easiest to explain with an example. Suppose you are working
I have a situation where I want to copy the output assembly from one
I've always felt like SecureString was a little odd, but assumed most of my
This is scenario that I ran into a few times: I copy some text

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.