I'm trying to git push my app's files, from my computer, to a VPS server running on Ubuntu.
On my computer(windows 10) I did: git init git add -A git commit -m "......"
On the server(in the app's directory): git init --bare
next did on my computer: git remote add origin fruitos@ and when I try git push or git pull I get Permission denied(publickey) fatal: Could not read from remote repository
I've tried many things so far to solve it but still no solution. any ideas?
The main goal is to upload the app's file straight from my computer(windows) to the vps server(Ubuntu) using the git push command.