开发者

SVN: Re-add an accidentally deleted empty folder?

I have a cache-like folder (called "minified") that holds minified css files. The files inside are not part of svn but the folder itself is. When开发者_运维问答 the files inside are deleted, a script knows to recreate them from the non-minified versions.

However, when doing this delete of css files, I accidentally deleted the "minified" folder. Since it is empty in svn and thus rather trivial, I figure it should be possible to re-add it in. Is this possible and how should I go about it? This happened on a remote server, not my local dev machine.

Thanks for any help you can give.


if you didn't make a svn ci to commit your accident, a simple svn revert minifield or svn update should be enough.

If you simply removed/recreated the directory, delete it again, and then run svn update it should repair the problem and recreate the .svn directory

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜