V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
nuc093
V2EX  ›  git

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

  •  
  •   nuc093 · Nov 27, 2015 · 3774 views
    This topic created in 3804 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   ·   1155 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 323ms · UTC 23:13 · PVG 07:13 · LAX 16:13 · JFK 19:13
    ♥ Do have faith in what you're doing.