Trying to clone from GitHub, but getting errors: fatal: Unable to create temporary file and Operation not permitted fatal: index-pack failed

Viewed 358

Bought a new Macbook Air M1, previously had win machine. Logged in to GitHub, deleted old SSH key, created new one. But when trying to clone repo in VS Code getting this:

Cloning into 'markdown-portfolio'... fatal: Unable to create temporary file '/Users/air/Desktop/4learning/markdown-portfolio/.git/objects/pack/tmp_pack_XXXXXX': Operation not permitted fatal: index-pack failed remote: Enumerating objects: 76, done.

I've even added terminal, GitHub Desktop and VS code to list: Allow the apps to run software locally that does not meet the system's security policy. I'm a newbie, tried to find more info, but couldn't. Thanks.

0 Answers
Related