My Code Helper
JavaScript
Python
Java
C#
C++
Ruby
Swift
Kotlin
TypeScript
Go
Rust
PHP
C
Objective-C
Dart
Scala
Perl
Lua
Haskell
R
MATLAB
VBA
F#
Groovy
Clojure
Elixir
Julia
CoffeeScript
Crystal
COBOL
Fortran
Ada
PL/SQL
T-SQL
Assembly
Shell Scripting
PowerShell
Bash
Racket
Scheme
Prolog
Erlang
Lisp
APL
Haxe
Pascal
Ada
Logo
Tcl
D
Nim
Io
ABAP
Scheme
FORTRAN
APL
COBOL
ALGOL
BASIC
PL/I
Lisp
Cobol
Forth
Ada
C
C++
Java
Python
JavaScript
Ruby
PHP
Swift
Kotlin
Go
Rust
Perl
Scala
Haskell
R
MATLAB
VBA
Objective-C
Dart
Lua
Elixir
Julia
CoffeeScript
Crystal
Groovy
Clojure
TypeScript
PowerShell
Shell Scripting
git
visual-studio-code
How to compare different branches in Visual Studio Code
How do I compare two different branches in Visual Studio Code?
Is it possible?
Solution
2021 answer
Here is the step by step guide:
Install the
GitLens
extension:
GitLens
Then, Click on
Source Control
:
Click on
Search & Compare
Click on
Compare References
Select the branches you want to compare:
Now, You can select any file for which you want to see the diff from Search & Compare
Azure Devops Repos - Revert back to a previous commit like the recent ones never existed
git is not respecting gitignore instruction to ignore .env files
How to see contributor's email address on Git commit chain?
How can I force "git commit -s" using "git commit" command?
How do I sign out in the Git Bash console in Windows?
Git checkout - switching back to HEAD
How to update git commit author, but keep original date when amending?
Automate sync via git between repo and server, ignoring but not removing files in .gitignore from source
Merge child branches when parent branch is merged
husky > pre-commit hook failed (add --no-verify to bypass)
Git clone fatal
How do I get the current branch name in Git?
Can I write a specific rule about how git should handle a specific commonly occurring merge conflict in a specific file?
How to use Git Revert
How to show "new" commits in git
Add SourceTree Remotes Programmatically
How to create development branch from master on GitHub
How do I stash only one file out of multiple files that have changed?
Is it possible to have different Git configuration for different projects?
Reading environment variables from more than one ".env" file in Python
Why can't I delete a branch in a remote GitLab repository?
How to solve "Unable to find git in your PATH" on Flutter?
git pull for a local repository at specified location (instead of pwd)
Search string only in added or removed lines using git pickaxe
Meaning of the GitHub message: push declined due to email privacy restrictions
Is there a 'git sed' or equivalent?
Git revert all lines that match a pattern
Why does `git clone --depth 1` leave packfiles?
In Gitlab - How can I clone all the repos under a certain organization?
git update-index --assume-unchanged returns "fatal unable to mark file"