Equivalent to “git update-index --assume-unchanged” in SourceTree

后端 未结 2 1086
别跟我提以往
别跟我提以往 2021-02-01 04:38

So far I used git update-index --assume-unchanged on the database configuration file after I filled in the database password because I don\'t want my database passw

2条回答
  •  礼貌的吻别
    2021-02-01 05:18

    I just defined custom action for this task.

    Make sure the path to git is correct.

    Thanks to @RobCroll from the comments, we now have a Windows version:

    C:\Program Files (x86)\Git\bin\git.exe (for x64 use: C:\Program Files\Git\bin)
    Parameters: update-index --assume-unchanged $FILE 
    

    enter image description here

提交回复
热议问题