Skip to content

Diff staged data similar to git diff --cached #9778

@YifuTao

Description

@YifuTao

With git diff --cached, one could check the staged data. This is useful before commiting the data. Currently, dvc diff does not support showing staged data in a similar way. It only supports diffing between two git commits, which means you have to git commit first before checking what's actually committed.

It would be useful if dvc could implement something like git diff --cached.

Context: https://discordapp.com/channels/485586884165107732/563406153334128681/1134156428077191198

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: statusRelated to the dvc diff/list/statusfeature requestRequesting a new featurep3-nice-to-haveIt should be done this or next sprint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions