git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks clone --branch master //GITSERVER/Releases/BICS/BenchMark/BenchMark.git "C:\Rushikesh\New folder"
Cloning into 'C:\Rushikesh\New folder'...
done.
fatal: 'refs/remotes/origin/desktop.ini' has a null OID
Completed with errors, see above.
Getting this while Cloning the Code
Welcome to the Atlassian community!
This error usually happens when Git finds a tracked file, like desktop.ini, missing its data object in the Git database, often due to a corrupted push or shallow clone.
You can try these steps to resolve it:
git clone -c filter.lfs.smudge=false -c filter.lfs.required=false <repo_url>Once resolved, add desktop.ini or else to your .gitignore file to prevent Windows system files from being tracked in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.