idea集成git测试时(即点击Test时), 报错为: Unsupported format of git --version output: git version 2.42.0.windows.2 [0x7FFCF3BAE824] ANOMALY: use of REX.w is meaningless (default operand size is 64).
1. 原因: 公司电脑安装的监控软件注入钩子造成的冲突.
2. 解决办法:
2.1:卸载监控软件,可以借鉴这个大佬的卸载方法https://blog.davidz.cn/inspur-ip-guard-uninstallation/
2.2(推荐): 在注册表中找到路径为:计算机\HKEY_LOCAL_MACHINE\SOFTWARE\TEC\Ocular.3\agent\config
下对于对所有程序在注册表中 新增项新建 [字符串值] hookapi_disins,数值数据: 1 .
2.3:
针对特定程序注册表中增加项在相同的路径(计算机\HKEY_LOCAL_MACHINE\SOFTWARE\TEC
\Ocular.3\agent\config)下新建新建 [字符串值] hookapi_filterproc_external,数值数据: cmd.exe;powershell.exe;git.exe;idea64.exe;cmd.exe;powershell.exe;git.exe;*.exe