Subversion: prevent local modifications to one file from being committed?

前端 未结 13 712
名媛妹妹
名媛妹妹 2020-12-01 04:17

I have a Subversion working copy where I made some local modifications to one file. The modifications are only relevant to me, I do not want to commit them. (The version in

13条回答
  •  感动是毒
    2020-12-01 05:02

    Create a changelist with that file in it, and then just pay no attention to the changelist. The file will sit there waiting to be committed, but your regular commits, which work on the default changelist, will never pick it up.

    svn changelist mylocal file1
    

    will create a changelist called mylocal and assign the file file1 to it.

提交回复
热议问题