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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:39:44+00:00 2026-05-27T17:39:44+00:00

I edited some files in svn, like this: $svn st M a M b

  • 0

I edited some files in svn, like this:

$svn st
M  a
M  b
...

Now, I want to commit my changes to svn, for some reason, I don’t want to commit file b, is there any quick way or command to ignore the modified file b?


Finally, I use @yzucker Solution 1, cp, revert and commit. Changelists is too heavy, thank you all.

  • 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-27T17:39:45+00:00Added an answer on May 27, 2026 at 5:39 pm

    Alas, the commit many files with some annoying changes ignored problem.

    Solution 1: copy, revert and commit

    $cp b /tmp/
    $svn revert b
    $svn commit -m 'commit message'
    $mv /tmp/b ./
    

    Solution 2: copy, commit, reverse the effect of b, recommit b

    $cp b /tmp/
    $svn commit -m 'commit message'
    $svn merge -c -{new revision} b
    $svn commit b -m 'revert message for b'
    $cp /tmp/b ./b
    

    The second approach is less preferable since you introduce broken code in svn.

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

Sidebar

Related Questions

I have some .c files that don't automatically highlight in vim. This problem only
Is there some way how to commit into the SVN repository with old time
My app needs to install some files that can be edited by the application
[Edited: After cross-testing on a fresh machine and some additional research, this appears to
UPDATE: Edited javascript code. It's only slightly off now in some columns. Maybe a
In my application,I want to display some static files(.html,.htm,.txt) which will be uploaded by
I'm attempting to utilize some code found here: http://androidtabs.googlecode.com/svn/trunk/ This includes the bases classes
Is there any difference between the algorithm of how diff3 utility and svn merge
I have some code that effectively does this : File file = new File(C:\\Program
I have edited some files in working stage (not added them with git add

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.