问题原文
原帖链接 · Godda · CC BY-SA 4.0
It's been four days now that i have been trying to host my first web project on digitalocean.com, the project size is about 4GB and I'm having a very difficult time trying to get it on github.com, which I really don't why it keeps throwing this exception "the remote end hung up unexpectedly" when every i try to push the project to my account. i have try some solutions that i fund on stack like git gc --aggressive which it copy all the files without any errors, but it doesn't show in my repo! so i was hoping if there's a way to just upload all the project files straight on digitalocean.com without having to us GitHub. I'm novice when it comes to hosting a website, and just very confuse with the dashboard on digital ocean. Is there any alternative in uploading my project on digital ocean without using GitHub, like uploading from my desktop?
this the error i get when i try to push the project to GitHub with the command git push -u origin main .
if i user this command (git gc --aggressive) i don't get the error but the file are no where to found in my repo !
my dashboard on digitalocean.com
已采纳解答
原帖链接 · Stephen Ostermiller · CC BY-SA 4.0
A droplet is a virtual machine hosted at Digitalocean. You shouldn't need to push code through Github to connect to it. Digitalocean has instructions for ssh access to a droplet.
With ssh access, you could transfer files directly using scp or you could install other software to accept files such as a FTP server.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
