<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Not sure how well known the Software Carpentry folks are to this list.  Their tutorial on git is mature and clear.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="http://swcarpentry.github.io/git-novice/">http://swcarpentry.github.io/git-novice/</a>  </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 9:42 PM, Chris Samuel <span dir="ltr"><<a href="mailto:chris@csamuel.org" target="_blank">chris@csamuel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wednesday, 20 December 2017 3:56:19 AM AEDT Adam DeConinck wrote:<br>
<br>
> I am also a fan of putting everything in source control. This is useful for<br>
> small scripts, but even more so (IMO) for configuration files. Being able<br>
> to track changes closely is a lifesaver when something about a system stops<br>
> working, and you have no idea what has changed. Source control has saved me<br>
> from the “this change is harmless!” problem many times.<br>
<br>
</span>+1 for this - and also the related "etckeeper" which is packaged in Debian/<br>
Ubuntu and RHEL/CentOS.   It hooks in to apt/yum and basically automates<br>
version control for your /etc directory.<br>
<br>
It defaults to using git (though others are possible, Ubuntu used to default<br>
to bzr for some bizare reason - sorry) and by default will do daily commits of<br>
/etc as well as before and after package manager changes (so you can see what<br>
files in /etc were changed by a particular package install/upgrade/removal).<br>
<br>
You can also drive it yourself, if you modify something in /etc then you can<br>
just (as root, obviously) do:<br>
<br>
/etc # etckeeper commit "Changed foo to bar in all config files"<br>
<br>
Which then lets you revert it should you decide that perhaps some foo's were<br>
actually needed.  Of course you can still use the underlying VCS commands too,<br>
it's just providing a handy wrapper.<br>
<br>
All the best,<br>
Chris<br>
<span class="HOEnZb"><font color="#888888">--<br>
 Chris Samuel  :  <a href="http://www.csamuel.org/" rel="noreferrer" target="_blank">http://www.csamuel.org/</a>  :  Melbourne, VIC<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" rel="noreferrer" target="_blank">http://www.beowulf.org/<wbr>mailman/listinfo/beowulf</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>- - - - - - -   - - - - - - -   - - - - - - - <br>Nathan Moore<br><div><span style="font-size:12.8000001907349px">Mississippi River and 44th Parallel</span><br></div><div>- - - - - - -   - - - - - - -   - - - - - - -</div><div><br></div></div></div></div></div></div>
</div>