<div dir="ltr">Luc,<div><br></div><div>We discussed your &quot;git add -p&quot; suggestion in our group meeting just now, and nobody here could explain why the command would be &quot;git add&quot; rather than &quot;git commit&quot;.  So if you want to commit all of your changes at once you would use &quot;git commit&quot;, but not &quot;git add&quot;?  Or is &quot;git add&quot; mandatory anytime you want to commit any change and it is only the &quot;-p&quot; flag that is optional?</div><div><br></div><div>The fact that we don&#39;t understand the paradigm and that we still have long discussions about syntax indicates to me that we are not ready for the switchover here at CCI.  More discussion may serve to remedy this.</div><div><br></div><div>Nick</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Nicholas K. Sauter, Ph. D.<br>Computer Staff Scientist, Molecular Biophysics and Integrated Bioimaging Division<div>Lawrence Berkeley National Laboratory<br>1 Cyclotron Rd., Bldg. 33R0345<br>Berkeley, CA 94720<br>(510) 486-5713<br></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 12, 2016 at 12:18 PM, Luc Bourhis <span dir="ltr">&lt;<a href="mailto:luc_j_bourhis@mac.com" target="_blank">luc_j_bourhis@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another way to slice what Graeme has just written is that there are two orthogonal aspects to git: the delocalised, collaborative, multi-branching thingy on one hand and a better version control purely locally on the other hand. One can ignore completely the former and still ripe the benefits of the latter.<br>
<br>
For example, let’s say you start to fix a bug and in the process you end up having to introduce new features and/or fix other things to make it work. After getting it all to work, you would really like to be able to split your changes in several commits, each concern with one feature/fix, even if some of these separate changes happened at different lines of the same file. With SVN, it’s so painful to do that most people will just commit it all in one commit. With ‘git add -p’, you can add chunk by chunk the changes related to each other to a first commit. Then proceed the same with a second commit. Etc. This is one of the feature which sold me on git.<br>
<br>
Best wishes,<br>
<br>
Luc<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>