V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
coolicer
V2EX  ›  git

某个目录不提交,但提交其子目录,gitignore 怎么写

  •  
  •   coolicer · 2014-11-11 16:21:39 +08:00 · 4448 次点击
    这是一个创建于 3455 天前的主题,其中的信息可能已经有所发展或是发生改变。
    node_modules/
    !node_modules/xxxx
    这样写好像不行
    2 条回复    2014-11-11 16:43:18 +08:00
    coolicer
        2
    coolicer  
    OP
       2014-11-11 16:43:18 +08:00
    @otakustay 刚好也查到这个
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   872 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:16 · PVG 05:16 · LAX 14:16 · JFK 17:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.