git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
nuc093
V2EX  ›  git

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

  •  
  •   nuc093 · Nov 27, 2015 · 3846 views
    This topic created in 3831 days ago, the information mentioned may be changed or developed.

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

    2 replies    2015-12-01 12:24:52 +08:00
    livelazily
        1
    livelazily  
       Nov 27, 2015
    偏好设置-> 自定义操作里添加对应的命令

    添加好后对想忽略的文件右键选择 自定义操作->新添加的功能 即可
    nuc093
        2
    nuc093  
    OP
       Dec 1, 2015
    @livelazily thanks a lot.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4314 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 01:01 · PVG 09:01 · LAX 18:01 · JFK 21:01
    ♥ Do have faith in what you're doing.