8 ms·
Have you considered doing something like pushing with git?
by dwc 15y ago
Have you considered doing something like pushing with git?
- tedunangst 15y agoEvery push with git is going to create a new ssh connection. Using a shared connection is way faster.
- senko 15y agoThis would suffer from the same problem. But doing git push all is out of the question for me, because I'm rsyncing while developing, so I'd need to constantly commit and push tiny nonsensical commits to the server, and then do a massive rebase afterwards. In effect, it's more work and gains me nothing.
- wfarr 15y agoI hope this is some sort of staging or testing server? The idea of repeatedly writing code and rsyncing it up to a production server while adding new features/whatever seems incredibly error prone to me. And that's not even to touch on whether or not there's automated testing (in the form of unit/integration/whatever tests in the code).
- senko 15y agoYeah, it's a development server. I've got a cheap VPS (€4/mo with 512MB of memory) and I usually run the code I'm developing there. My reasons: I don't have to pollute my laptop with various (sometimes mutually exclusive) servers - virtualenv &co are great, but can only go so far, and VMs are much harder on the battery; trivial for other people (colleagues, clients) to see WIP, even if my laptop is suspended.
- rauar 15y agoWhich provider is that ?
- philjackson 15y agoYou should give Emacs and Tramp some consideration. Failing that, Fuse works well.