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?

  • Git/Diff Patch technical explanation
  • What does “@@ -1 +1 @@” mean in Git's diff output?
  • how to write an external git diff to compare added lines to deleted lines (and hide matches)?
  • git diff - handling long lines?
  • Can a git repository be created where branches are clones from other repositories?
  • Git commit diff show line update in only one line
  • Changing / adding files to a git tag?
  • Updating changed files over ftp
  • git - how to hide changes for a particular file at a repo level
  • How to resolve error in git pull from bitbucket?
  • git subtree pull rebase error
  • Fixing mac/windows new lines with git pre-commit hook?
  • One Solution collect form web for “How can I get a unified git diff in Visual Studio Code?”

    The official view is a side by side one

    enter image description here

    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

    enter image description here

    Git Baby is a git and github fan, let's start git clone.