家庭作业的版本控制 [英] Version Control for Homework Assignments

查看:105
本文介绍了家庭作业的版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

学校回来了,我发现自己无所适从。在上学期末,我们有一个团队项目利用颠覆(4人小组)提交并完成它。我也注意到,通过作业的中心点是多么容易。我想利用SVN或Git(最近引入git),我有一个问题。

组织SVN用于多个计算机课程的多项作业分配的最佳方式是什么?

我有两门编程课,我一定要跟踪。每周1次分配的最少,这是32个分配来管理2个班级。我应该将它们全部保存在一个存储库中,并标记1个Java和1个C ++?



预先感谢。

编辑:我应该提到我每年都会托管git和subversion WebDAV的。这就是我去年为我的项目访问svn repo的方式。我有能力通过这个工具将我的作业锁定在公共视图之外,对于那些不熟悉该设置的人来说。

说到SVN -

一个存储库有多个项目是正常的。



您可以在个人电脑上轻松设置独立的SVN服务器(无需Web服务器)。

在家庭和学校之间也要考虑使用svn与基于文件的存储库上的USB密钥。这仅限于一个用户访问这些文件,但意味着您只需要SVN客户端(或TortoiseSVN)就可以了。



ps。学习使用SCC是他们在学校不教你的最重要的事情之一。


School is back in session and I've found myself at a loss. At the end of last semester, we had a group project utilizing subversion (group of 4 people) to make commits and get it complete. I also noticed how easy it was to have access to a central point for my homework. I want to utilize SVN or Git (recently introduced to git) and I have a problem.

What is the best way to organize SVN for multiple homework assignments for multiple computer classes.

I've got 2 programming classes that I definitely want to track. With at minimum of 1 assignment a week that's 32 assignments to manage over 2 classes. Should I keep them all in one repository and just label 1 Java and 1 C++?

Thanks in advance.

Edit: I should mention I have yearly hosting that allows both git and subversion through WebDAV. That's how I accessed the svn repo for my project last year. I have the ability to lock my homework up away from public view through this tool, for those not familiar with that setup.

解决方案

Speaking for SVN -
One repository with multiple projects is normal.

You can easily setup a standalone SVN server (without needing a web server) on a PC

You might also look at using svn with a file based repository on a USB key for simplicity between home and school. This is limited to only one user accessing the files but means you need nothing more than the SVN client (or TortoiseSVN)

ps. Learning to use SCC is one of the most important things they don't teach you at school.

这篇关于家庭作业的版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆