Skip to content

Quickly show current file on other branch #646

@cideM

Description

@cideM

In vim-fugitive I can do :Gedit develop:%. The % expands to the current file path and the command will open that file path but from the specified branch (here develop) in my editor. How do I achieve the same in GitLens? I can compare my directory and branch and then navigate through the explorer view but that's a bit clunky. I really just want the current file on the current branch and (next to it, on the side), the same file on a different branch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions