Reverting single file in SVN to a particular revision

前端 未结 14 1839
生来不讨喜
生来不讨喜 2021-01-29 18:09

I have a file as shown below in an SVN repo that I would like to revert to a previous version. What is the way to do this in SVN? I want only downgrade this particular file to a

相关标签:
14条回答
  • 2021-01-29 19:04
    sudo svn revert filename
    

    this is the better way to revert a single file

    0 讨论(0)
  • 2021-01-29 19:05

    svn cat takes a revision arg too!

    svn cat -r 175 mydir/myfile > mydir/myfile

    0 讨论(0)
提交回复
热议问题