Question
dokku - cannot git push my files
fatal: [name] does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I tried to push files to my server with dokku installed, but this error message appeared.
git remote add deploy deploy@my-server-address:dev
where deploy is a user with root privilege of my server, and I first generated a public key on my computer and I copied it to ~/.ssh/authorized_keys on my server and finally use command "cat ~/.ssh/authorized_keys | sudo sshcommand acl-add dokku 'init'" however, this seems not working.
Any ideas?
Thanks!!!
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×