Skip to content

Is there a functionality for git diff? #889

Open
@aldanchenko

Description

@aldanchenko

Hello,

I'm trying to receive git diff results. Right now I'm just using this raw version

const rawDiff = await git.diff([
                this.branch,
                filePath
            ]);

And after this I'm parsing raw string to object.

Maybe there is some another, more proper way to receive this data using classes/objects?

Thank you!

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