What are some online solutions for easily accessing my source code from anywhere? [closed]

旧街凉风 提交于 2019-12-03 21:29:28
Greg Hewgill

A good solution would be to get an account at some hosting provider that offers shells (eg. Dreamhost) and do your work remotely. That way you always have a consistent environment that you can just ssh into from anywhere.

It's far easier to find a run-anywhere SSH client than a run-anywhere filesharing or revision control system.

www.github.com?

Git binaries should be usable without any installation process (I do not get the 'portable' part there, as you do not mention anything about your work environment).

Or, alternatively, a thumbdrive git repository, altough you said that you do not want to use a thumbdrive.

Aaron Digulla

The most simple solution (if you can share the code with the world), is to create a project on Google code. This gives you a subversion repository plus a wiki to sort your ideas and an issue tracker for your TODO list, too.

Today, I prefer Subversion in your situation for two reasons:

  1. There is a command line standalone client (just a couple of files which need no install) for Windows. Git would need either Cygwin or MinGW and a Unix environment of some kind. Too much hassle.
  2. It's a bit more simple to use than Git. Git asks a paradigm shift from your brain and unless you get that right, Git will feel "weird".

For professional work on large projects, I prefer Git :)

Aaron Digulla

CVS, Subversion and GIT all allow to create the repository on a network share. All of them discourage this because, in the case of a network outage, the repository may become corrupted.

So if you have frequent network outages, this might not be an option but frankly, most networks are pretty stable today. And in my 15 years since I use VCS, I never had one corrupt a repo on a share. Most network file systems will try their very best to commit pending writes, so unless the server completely dies, the data will be saved when the hiccup is over.

But if you're still worried, use git because it allows to restore the main repository with minimal data loss from your local copy (see this question for details).

We use CVSDude, who do CVS and SVN, it's a pay service $6/month = 250M, works really well, although maybe you're after something free?

You can get a free account on drivehq to store up to 1GB of data. Nothing fancy, but if you're looking for some place to put software it might do the trick.

You might like to check out Bespin:

Bespin is a Mozilla Labs experiment that proposes an open, extensible web-based framework for code editing.

I use Dreamhost's integrated SVN. They have an interface for setting up repositories and user accounts. I work on a mac which comes with SVN installed so the whole thing for me was completely painless. Couple of clicks, point SVN at my server and I was good to go.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!