I have a git bare project setup on my laptop, from my desktop I cloned it, modified a couple of files and wanted to push it, but getting error:
remote: error: unable to write sha1 filename //MACBOOK/Macintosh HD/Users/me/Dev/project.git/./objects/incoming-xxxx/46/76325e2cdd34d7d3: Permission denied
I access to remote my repository with user and password. how can I push changes to the repository?
Few reasons
SSH keys
In your case, doesn't seem like the problem since you have local repo under your account
Shared repository configuration