V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
xoxo419
V2EX  ›  程序员

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

  •  
  •   xoxo419 · Aug 30, 2018 · 3020 views
    This topic created in 2805 days ago, the information mentioned may be changed or developed.
    1 replies    2018-12-18 11:27:51 +08:00
    xoxo419
        1
    xoxo419  
    OP
       Dec 18, 2018
    $ 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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 03:37 · PVG 11:37 · LAX 20:37 · JFK 23:37
    ♥ Do have faith in what you're doing.