Git push operation permission error

I built a warehouse remotely, and then clone to local, you can clone but not push

push Times error

Could not chdir to home directory /home/xxx: Permission denied
Everything up-to-date

I have changed the permissions of remote warehouse files to 777

how to solve this problem?

Git
Mar.04,2021

definitely not push , you have to ask your remote repository to trust your local machine.

if you are a server remotely, you configure the contents of your local id_rsa.pub to the remote server

Menu