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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:15:27+00:00 2026-05-12T00:15:27+00:00

It happens to me all the time. I accidentally version a file, I do

  • 0

It happens to me all the time. I accidentally version a file, I do not want to be versioned (i.e. developer/machine specific config-files).

If I commit this file, I will mess up the paths on all the other developer machines – they will be unhappy.

If I do delete the file from versioning, it will be deleted from the other developers machines – they will be unhappy.

If I choose to never commit the file, I always have a “dirty” checkout – I am unhappy.

Is a clean way to “unversion” a file from revision-control, that will result in no-one being unhappy?

edit: trying to clarify a bit: I have already commited the file to the repository and I want to only remove it from versioning – I specifically do not want it to be physically deleted from everyone doing a checkout. I initially wanted it to be ignored.

Answer: If I could accept a second answer, it would be this. It answers my question with respect to git – the accepted answer is about svn.

  • 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-12T00:15:27+00:00Added an answer on May 12, 2026 at 12:15 am

    SVN version 1.5 supports removing/deleting a file from a repository with out losing the local file

    taken from http://subversion.tigris.org/svn_1.5_releasenotes.html

    New –keep-local option retains path after delete..

    Delete (remove) now takes a –keep-local option to retain its targets locally, so paths will not be removed even if unmodified.

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

Sidebar

Related Questions

Sometimes fail to call the web service. This problem happens all the time. What
Question in the title. And what happens when all 3 of $_GET[foo] , $_POST[foo]
What happens to the name/value pairs stored inside a form's resx file? Are they
Problem: When I use an auto-incrementing primary key in my database, this happens all
I want to make a special calendar app, but I am afraid it's not
I'm trying to get this to add and nothing happens at all. I have
While looping through all objects I want to render in my 3D-engine, I get
I'm building a system in Node.js that is supposed to find all files in
If I use mod_rewrite to control all my 301 redirects, does this happen before
What happens if I use SHGetFolderPath api call in a 32 bit system with

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.