简体   繁体   中英

How can I get a unified git diff in Visual Studio Code?

VS Code has a nice built-in Git interface, but it defaults to side-by-side file comparison/diff. Is there a way to switch to unified colored mode?

The official view is a side by side one

在此输入图像描述

But the VSCode Tips page mentions

Inline view

Toggle inline view by clicking more button in the top right.

https://github.com/Microsoft/vscode-tips-and-tricks/raw/master/media/more_button.png (" Toggle Side By Side View ")

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM