Failed to find the latest git commit

Viewed 70
Failed to find the latest git commit date: VersionCheckError: Command exited with code 128: git -c
log.showSignature=false log HEAD -n 1 --pretty=format:%ad --date=iso
Standard out:
Standard error: fatal: detected dubious ownership in repository at 'C:/flutter'
'C:/flutter' is owned by:
        'S-1-5-32-544'
but the current user is:
        'S-1-5-21-1793104308-1815867500-777793784-1001'
To add an exception for this directory, call:

        git config --global --add safe.directory C:/flutter

Returning 1969-12-31 16:00:00.000 instead.

How can I solve this?

0 Answers
Related