V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xoxo419
V2EX  ›  程序员

svn 忽略一个目录下的全部文件, 但是除了指定的文件提交 怎么处理?

  •  
  •   xoxo419 · 2018-08-30 12:57:21 +08:00 · 2628 次点击
    这是一个创建于 2064 天前的主题,其中的信息可能已经有所发展或是发生改变。
    1 条回复    2018-12-18 11:27:51 +08:00
    xoxo419
        1
    xoxo419  
    OP
       2018-12-18 11:27:51 +08:00
    $ svn mkdir spool
    $ svn add spool
    $ svn commit -m '提交空文件夹'
    $ svn propset svn:ignore '*' spool
    $ svn ci -m 'Adding "spool" and ignoring its contents.'

    更多: http://www.majianwei.com/archives/7782
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5312 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:38 · PVG 15:38 · LAX 00:38 · JFK 03:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.