Skip to content

provide git_root from cmd line #303

@dhananjaylatkar

Description

@dhananjaylatkar

Let's say I have 2 projects -
~/code/repo1
~/code/repo2

I open nvim in ~/code/repo1 and want to see diff in ~/code/repo2.
Is there an way to provide cwd to codediff?

:CodeDiff --cwd=~/code/repo2
:CodeDiff --cwd=~/code/repo2 history
:CodeDiff --cwd=~/code/repo2 history <commit_hash>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions