Re:ShowHN: GetURL - A CLI tool to get a public link for any ...
by TazeTSchnitzel on Monday October 01, 2012 @05:06PM
(#4599343)
Since I have web hosting and use GitHub, here's my method:
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)
[ Parent
| on HN ]
Re:ShowHN: GetURL - A CLI tool to get a public link for any ...
by SoftwareMaven on Monday October 01, 2012 @08:54PM
(#4600168)
You don't need to set up a git server on your own sever. Just create a git repo, add it as a remote revenue to your local repo, and use ssh+git to push changes directly.
But if you have your own server, why don't you just scp it directly there? That's the piece most people are missing.
Re:ShowHN: GetURL - A CLI tool to get a public link for any ...
by xxbondsxx on Friday October 05, 2012 @12:21PM
(#4617484)
SCP is really the solution here. But to be fair, I only discovered scp after a year or two of CLI work. I might have been tempted to hack something together like Taze's solution in my earlier days