How to delete a .git file from svn?

I created an iOS project with git repository option set.Later I had to move to SVN. The .git folder was not deleted when I added it to SVN. Now I deleted the .git folder. BUt when I try to remove it from SVN repository, I get the below error:

Commit failed (details follow):
Entry for ‘/Users/user1/Development/Source code/Working Copy/Sample Project/.git’ has no URL

  • Git - how to force manual merge even if there is no conflict
  • How is @{push} different from @{u} or a tracking branch?
  • How do gitignore exclusion rules actually work?
  • Git, SVN and Eclipse workflow
  • Git: break a large+messy feature branch into smaller branches
  • Can a git-controlled file be aware of which branch it belongs to?
  • How do I remove the .git folder from repository?

  • Several SSH keys and user accounts
  • Git: How to add files and subfolders in a gitignore'd folder
  • Correctly configure Git with Jenkins under Windows 7
  • TortoiseGit save user authentication / credentials
  • Git log --graph file list per commit
  • Git/gitosis: How to check validity of user name and email?
  • One Solution collect form web for “How to delete a .git file from svn?”

    You need to remove a file/directory using the svn command, not manually delete it first.

    So revert your working copy first using svn update and then use svn rm .git to properly remove the .git directory.

    Next you can commit your changes.

    Git Baby is a git and github fan, let's start git clone.