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?

  • VCS independent diff
  • How to see the changes in a commit?
  • What is the diff version git use? diff2 or diff3?
  • How to get email diffs for GitHub pushes?
  • Unable to diff files in two separate branches in Git
  • How to get change history for a specific file in git repository
  • How can I discover which commits a diff is composed of?
  • git diff algorithm that does not rip functions apart? (language-aware diff)
  • undo “git filter-branch … — --all”? in one command?
  • specify default branch for a non-default remote for pull
  • How to trigger a build only if changes happen on particular set of files
  • MIME type of a git repository?
  • 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.

    enter image description here

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