V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  lyvv  ›  全部回复第 2 页 / 共 2 页
回复总数  40
1  2  
❮ ❯
@msg7086 其实我只想对比:服务器最新代码和我本地的区别(无论是否提交情况)

1 楼附图上,是位置 1 和位置 2 ,目前的结论是只能用 git diff commit1 commit2 ,这个操作非常麻烦...

貌似没有方便的对比方式
@hwdq0012 谢谢大佬,用 GitLens 可以对比某个具体的提交和当前的对比。
但是在使用上,界面操作太多。

大佬建议,还是使用命令行。

现阶段,如果要图形化的查看,我觉得直接使用 git clone 到新目录,再使用 beyond compare 对比最快。

再次感谢大佬。 @hwdq0012
@Trim21 不理解你说的.....我全部在一个分支里面工作
@hwdq0012 加个 qq ,用 todesk 或者向日葵?
837666626

特别感谢啊!!
@JoeJoeJoe
这个命令可以
git diff commit1 commit2 对比两次提交

但是很麻烦,而且没法在 vscode 里面看,只能在 cmd 里面看,十分不便。




@llussy
@hwdq0012
@iguess
@bruce0
我已经 fetch 到本地了,使用 git diff 显示无差别。具体提交记录,看我这个图

https://imgur.com/a/ZReZPLn.png
@llussy 不行呢
2022 年 8 月 17 日
回复了 bvanished 创建的主题 › 程序员 › 工作迷茫
@djoiwhud 说的非常对,钱最重要。所以有啥建议呢?
2022 年 6 月 30 日
回复了 liqinliqin 创建的主题 › 程序员 › 鸿蒙开发板及培训价格 39.9 是不是合适
2022 年 6 月 6 日
回复了 liqinliqin 创建的主题 › 程序员 › 鸿蒙开发板及培训价格 39.9 是不是合适
感兴趣+1
2022 年 6 月 2 日
回复了 opentrade 创建的主题 › 程序员 › 是不是只有老司机才记得 Thunderbird?
outlook 现在还有客户端吗?

为啥下载不到?
2022 年 5 月 18 日
回复了 L2Sddiw 创建的主题 › 云计算 › 请问有没有相对便宜的云厂商,公司用
弱弱问一句
4C8G5M
4c 代表啥?
5m 代表啥?

8g 应该是内存吧?
2022 年 5 月 12 日
回复了 MrCsharp 创建的主题 › 深圳 › 我是新时代四败青年
md
俺也一样
2022 年 5 月 12 日
回复了 jiangzhouq 创建的主题 › 程序员 › 关于 AI 自动抠图后描边的实现
想知道你的 AI 自动抠图 是咋实现的
找到终极解决方案

使用默认的电源管理方案

![11.jpg]( http://ww1.sinaimg.cn/large/b95d0751gy1h18bahj6x3j20rm0ledh0.jpg)
找到了一个办法。
https://answers.microsoft.com/en-us/windows/forum/all/windows-10-task-manager-shows-100-cpu-but/00c92238-9382-4946-bc6a-bbc451888b96?page=1


After much debugging, I was able to come to the conclusion that my specific case was related to a bug in the Oculus Rift software. Because the Rift, a virtual reality headset, requires low latency, their software seems to set the IDLEDISABLE power configuration to "1". In certain cases, after taking the headset off, the setting is not changed back to the default of "0".

IDLEDISABLE prevents the CPU from throttling itself, causing heat and the fan noise I observed. Additionally, this manifested in the Task Manager as "100% CPU usage". Process Explorer seems to always discount the System Idle Process and not include it in the total CPU usage, which is why it displayed a lower total CPU usage than Task Manager did.

To fix this, you can run the following two commands, which sets the IDLEDISABLE setting back to "0" and then re-applies the power management configuration.

C:\WINDOWS\system32>PowerCfg /SETACVALUEINDEX SCHEME_CURRENT SUB_PROCESSOR IDLEDISABLE 000
C:\WINDOWS\system32>PowerCfg /SETACTIVE SCHEME_CURRENT
A small note. Even if you don't have an Oculus Rift, the above could solve your problem.
@la9998372 手动停止了 WSearch 服务,还是 cpu100%。。
1  2  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1977 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms · UTC 12:50 · PVG 20:50 · LAX 04:50 · JFK 07:50
♥ Do have faith in what you're doing.