ysa*_*sap 5 git winmerge exclude
在比较 git repo 克隆时,我对 .git 文件夹的外观及其在目录比较选项卡中的内容感到恼火。
在工具 -> 过滤器...对话框中,列表中有Exclude Source Control过滤器FileFilters。检查此文件,.git文件夹中有一行:
def: include
d: \\\.git$ ## Git directory
Run Code Online (Sandbox Code Playgroud)
为什么.git我的比较中仍然会出现文件夹差异?
这是我为我的工作区定义的过滤器文件。它似乎适用于过滤 Git,等等:
## This is a directory/file filter template for WinMerge
name: Exclude binaries
desc: Exclude all project binaries and source control
## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
f: \.ext$
d: \\subdir$
d: \.git
d: ZZZ_.*
f: libucos3.*\.a
f: *.swp
f: *.pyc
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3049 次 |
| 最近记录: |