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 6539359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:51:00+00:00 2026-05-25T10:51:00+00:00

I have recently moved a project from SVN to git, and my colleague only

  • 0

I have recently moved a project from SVN to git, and my colleague only just recently deleted all of the old .svn directories. I attempted to use git pull --rebase in order to have his changes (which were numerous) be added before my own changes. There was a conflict, and I was able to use git add -A to remove the vast majority of issues. However, there remains the following:

Unmerged paths:
#   (use "git reset HEAD <file>..." to unstage)
#   (use "git add/rm <file>..." as appropriate to mark resolution)
#
#   both deleted:       th/protected/modules/rights/views/authItem/.svn/text-base/_childForm.php.svn-base

If we’ve both deleted it, how am I supposed to use git add/rm to add the change to the index?

In short, how does one go about adding a deleted file to the index to be committed?

EDIT:

I have tried to use git rm <filename> on the file, but it does not work it provides the following message:

fatal: pathspec 'th/protected/modules/rights/views/authItem/.svn/text-base/_childForm.php.svn-base' did not match any files

EDIT:

Would it be worthwhile to make a dummy file of the same name that I can add to the index? I don’t know what might happen, though, so I am unwilling to do this without a little bit of advice.

  • 1 1 Answer
  • 1 View
  • 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-25T10:51:01+00:00Added an answer on May 25, 2026 at 10:51 am

    Try doing git rm --cached th/protected/modules/rights/views/authItem/.svn/text-base/_childForm.php.svn-base to remove the file only from the index, not from the working tree.

    Reference: http://www.kernel.org/pub/software/scm/git/docs/git-rm.html

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

Sidebar

Related Questions

I have recently moved from SVN to Git and am a bit confused about
I'm a Git newbie. I recently moved a Rails project from Subversion to Git.
I recently upgraded my computer, and moved from XP to Win7. We have old
We have recently moved some data from an SQL Database instance to another one
We have recently moved from VS 2008 to VS 2010. With that my applications
I've recently moved a project I'm working on from .NET 3.5 to .NET 4.
I recently moved to a project where I noticed there have a specific requirement
I have recently had to move my project from using the CPython 2.6 interpreter
I have recently moved the SVN server and now i am tring to relocate
I have recently moved to a W7 64bit machine with VS 2010. My project

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.