If you git clone and face this error, you can try these solutions below:
Or:
Add --depth 1 to your command: git clone --depth 1 https://github.com/kptis/OEP-detection.git
Then: git fetch --unshallow
You can search for the meaning of these options for more details.
Or:
Try to setup SSH key for your github account: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
I have try all above solutions but they aren't successful at all.
If you are working with a big repo, with large file (> 100MB), try to install git lfs, follow these steps:
Download the package here
Extract, and run the install script
Then try to git clone again. Hope it works with you! Happi hackin'
Comments