|
|
|
|
|
by TazeTSchnitzel
5004 days ago
|
|
Since I have web hosting and use GitHub, here's my method: cp file_name ~/Projects/2012/ajf.me/ajf.me/imagedump/ && cd ~/Projects/2012/ajf.me/ajf.me/ && git add imagedump && git commit -m 'new file' && cd .. && ./update.sh
Elaborate, sure, but it does the job. update.sh runs git push and then does an SSH into my server and a git pull. (Because I'm too lazy to actually set up git on my own server) |
|
But if you have your own server, why don't you just scp it directly there? That's the piece most people are missing.