Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
473 views
in Technique[技术] by (71.8m points)

tortoisesvn - Remove file from SVN repository without deleting local copy

How can I "delete" a file which is already in the SVN repository without deleting it from my file system?

TortoiseSVN or command line instructions are welcome.

The following works, but I am hoping for something nicer:

  1. Copy the file to some other location outside the repository.
  2. SVN Delete the file.
  3. Commit
  4. Copy the files back and make sure to ignore them on future commits.
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
svn delete --keep-local the_file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...