有哪些在线解决方案可以从任何地方轻松访问我的源代码?
我是一名大学生,在任何给定时间我都会为不同的课程/项目用不同的语言编写 4-5 个程序。
在一天中的任何特定时间,我可能在图书馆、家里、任何不同的计算机实验室教室等。
现在,我当前的做法是在每个课程或编码课程结束时,我给自己发电子邮件我正在使用适当的主题行(即“MIPS Assembly Lab 2,修订版#3”)进行的任何工作的当前状态。
然而,这变得很麻烦,我正在寻找其他解决方案。
限制:
无拇指驱动器。 我尽可能心不在焉,同时仍以某种方式设法发挥作用。 我会丢失它。
仅限便携式或网络应用程序。 我无法安装不可移植的可执行文件。 因此,如果某个工具需要安装向导或管理权限,我就无法使用它。 不过,我可以使用可移植的可执行文件,这些可执行文件存储在为每个学生提供的网络驱动器空间中。 因此,这可能会带来一些可能性。
我正在寻找某种在线存储,我可以轻松下载项目的最新文件或更新在线存储中的文件,尽可能减少摩擦。
我考虑过使用一些免费的版本控制存储库,并试图找到一个可移植的可执行文件或网络工具,我可以用来与其集成,但我想知道它是否可能有点过头了。 我并不是真的在寻找保留修订历史记录。
我看过 dropbox 之类的视频,看起来这是朝着正确方向迈出的一步。
有什么建议么?
I'm a college student and at any given time I have 4-5 programs I'm writing in various languages for various classes/projects.
At any given hour of the day I might be in the library, at home, in any of our different computer lab classrooms, etc.
Right now my current modus operandi is at the end of each class period or coding session, I gmail myself the current state of whatever I'm working on with an appropriate subject line (ie, "MIPS Assembly Lab 2, Revision #3").
However, this is becoming cumbersome and I'm looking for other solutions.
Restrictions:
No Thumbdrive. I'm about as absent minded as possible while still somehow managing to function. I'll lose it.
Portable or Web Apps only. I can't install non-portable executables. So, if a tool requires an installation wizard or administration privileges, I can't use it. I can use portable executables however, stored in our network drive space given to each student. So, that might open some possibilities.
I'm looking for some kind of online storage that I can easily download the latest files for my project or update those in the online storage, with as little friction as possible.
I've considered using some free version control repository and trying to find a portable executable or web-tool I can use to integrate with it, but I wonder if it might be overkill. I'm not really looking for keeping a revision history.
I've seen videos of things like dropbox and it seems like it is a step in the right direction.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
一个好的解决方案是在一些提供 shell 的托管提供商处获得一个帐户(例如 Dreamhost),然后执行您的远程工作。 这样,您始终拥有一个可以从任何地方 ssh 访问的一致环境。
找到随处运行的 SSH 客户端比运行要容易得多- 任何地方的文件共享或修订控制系统。
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 二进制文件应该无需任何安装过程即可使用(我没有在那里得到“便携式”部分,因为您没有提及有关您的工作环境的任何信息)。
或者,一个拇指驱动器 git 存储库,尽管您说过您不想使用拇指驱动器。
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.
最简单的解决方案(如果您可以与全世界共享代码)是在 Google 代码上创建一个项目。 这为您提供了一个 subversion 存储库以及一个用于对您的想法进行排序的 wiki,以及一个用于您的 TODO 列表的问题跟踪器。
今天,在您的情况下,我更喜欢 Subversion,原因有两个:
对于大型项目的专业工作,我更喜欢 Git :)
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:
For professional work on large projects, I prefer Git :)
CVS、Subversion 和 GIT 都允许在网络共享上创建存储库。 他们所有人都不鼓励这样做,因为在网络中断的情况下,存储库可能会损坏。
因此,如果您经常出现网络中断,这可能不是一个选择,但坦率地说,目前大多数网络都相当稳定。 自从我使用 VCS 15 年来,我从未遇到过破坏共享回购协议的情况。 大多数网络文件系统都会尽力提交挂起的写入,因此除非服务器完全挂掉,否则数据将在中断结束后保存。
但如果您仍然担心,请使用 git,因为它允许以最小的本地副本数据丢失的方式恢复主存储库(请参阅 此问题了解详细信息)。
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).
我们使用 CVSDude,他们提供 CVS 和 SVN,这是一项付费服务 $6/月 = 2.5 亿,效果非常好,尽管也许您正在寻找免费的东西?
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?
您可以在 drivehq 上获得一个免费帐户,最多可存储 1GB 的数据。 没什么特别的,但如果你正在寻找一个放置软件的地方,它可能会成功。
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.
您可能想查看Bespin:
You might like to check out Bespin:
我使用 Dreamhost 的集成 SVN。 他们有一个用于设置存储库和用户帐户的界面。 我在一台安装了 SVN 的 Mac 上工作,所以整个过程对我来说完全没有痛苦。 单击几下,将 SVN 指向我的服务器,我就可以开始了。
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.