<div dir="ltr">I tend to agree that git is somewhat complex for the novice. It takes awhile<br>before one feels comfortable working with git. SCMs in general, are not considered<br>&quot;core&quot; learning material, so most student will prefer to avoid &quot;wasting&quot; their<br>
time to earn the required expertise.<br><br>Having said that, for the experienced git users, there is not reason to lose<br>their work, even in the case of some mistake.<br>For example, most problems can be recovered using:<br>
<a href="http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#recovering-lost-changes">http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#recovering-lost-changes</a><br><br>Another, less powerful tool, but good enough for immediate disaster recovery is the ORIG_HEAD reference.<br>
<br>--doron<br><br><div class="gmail_quote">On Thu, Oct 15, 2009 at 11:38 PM, guy keren <span dir="ltr">&lt;<a href="mailto:choo@actcom.co.il">choo@actcom.co.il</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
the problem with git, is that it&#39;s very easy to shoot yourself in the<br>
foot. giving it to students, who might accidentally reset their<br>
repository into losing their code, is not a very good idea, if you don&#39;t<br>
have time to give a proper explanation plus warnings.<br>
<font color="#888888"><br>
--guy<br>
</font><div class="im"><br>
Tzafrir Cohen wrote:<br>
&gt; On Thu, Oct 15, 2009 at 09:13:58PM +0200, Eli Billauer wrote:<br>
&gt;&gt; OK, I think this is a good time to express my view regarding the<br>
&gt;&gt; &quot;Development tools&quot; lecture. It&#39;s purpose, as I see it, is to give the<br>
&gt;&gt; students a nice start with the &quot;right&quot; tools for developing code, as<br>
&gt;&gt; needed for their exercises. If their experience is good, they&#39;ll stay.<br>
&gt;&gt; If not, they&#39;ll soon use the alternatives.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; If you want to give a lecture about any other subject, as a<br>
&gt;&gt; Stay-in-Linux or mainstream lecture, by all means come forward. But<br>
&gt;&gt; let&#39;s try to get some focus on the initial lecture.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Correct me if I&#39;m wrong, but a student is not likely to go beyond a<br>
&gt;&gt; project which runs on a single platform, having a few source files, and<br>
&gt;&gt; with no more than two or three persons involved. Hence autotools are<br>
&gt;&gt; irrelevant, and so are version control systems. Tarballing all sources,<br>
&gt;&gt; and sending to your partner with comments, is as much version control as<br>
&gt;&gt; you need in these situations.<br>
&gt;<br>
&gt; I&#39;m not sure I agree with you regarding version control systems.<br>
&gt;<br>
&gt; Specifically distributed version control systems make the common case of<br>
&gt; a repository for the project simple. Unlike Subversion, you don&#39;t need<br>
&gt; to set up a separate server.<br>
&gt;<br>
&gt; And it saves you a whole lot of time in saving ex1.c_1 , ex1.c_2,<br>
&gt; ex.c.orig and such. I think that demonstarting simple linear workflow<br>
&gt; (no branches, no remote repositories) with git, bzr or hg could be handy.<br>
&gt;<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
Haifux mailing list<br>
<a href="mailto:Haifux@haifux.org">Haifux@haifux.org</a><br>
<a href="http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux" target="_blank">http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux</a><br>
</div></div></blockquote></div><br></div>