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

如何在 SourceTree 里实现忽略某个文件的更新功能

  •  
  •   nuc093 · 2015-11-27 11:21:00 +08:00 · 3308 次点击
    这是一个创建于 3084 天前的主题,其中的信息可能已经有所发展或是发生改变。

    $ git update-index --assume-unchanged filename
    此项功能如何在 SourceTree 里以图形界面形式实现。

    2 条回复    2015-12-01 12:24:52 +08:00
    livelazily
        1
    livelazily  
       2015-11-27 22:46:57 +08:00
    偏好设置-> 自定义操作里添加对应的命令

    添加好后对想忽略的文件右键选择 自定义操作->新添加的功能 即可
    nuc093
        2
    nuc093  
    OP
       2015-12-01 12:24:52 +08:00
    @livelazily thanks a lot.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3884 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 04:17 · PVG 12:17 · LAX 21:17 · JFK 00:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.