<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" >

  <title>Erik L. Arneson — Writer and Software Developer</title>
  <subtitle>Erik L. Arneson is a freelance writer and software developer with WordPress experience. He is located in Portland, Oregon.</subtitle>
  <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator>
  <link href="https://arnesonium.com/feeds/version-control.xml" rel="self" type="application/atom+xml" />
  <link href="https://arnesonium.com/" rel="alternate" type="text/html" />
  <updated>2026-06-18T15:03:10+00:00</updated>
  <id>https://arnesonium.com/feeds/version-control.xml</id>
  <author>
    <name>Erik L. Arneson</name>
  </author>
      <entry>
        
        <title>Please Use Version Control</title>
        <author>
          <name>Erik L. Arneson</name>
        </author>        
        <link href="https://arnesonium.com/2015/04/please-use-version-control/" rel="alternate" type="text/html" title="Please Use Version Control" />
        <updated>2015-04-09T03:07:44+00:00</updated>
        <id>https://arnesonium.com/2015/04/please-use-version-control</id>
          <category term="git" />
        
          <category term="github" />
        
          <category term="programming" />
        
          <category term="stack-overflow" />
        
          <category term="version-control" />
        
          <category term="web-development" />
        <content type="html" xml:base="https://arnesonium.com/2015/04/please-use-version-control/">&lt;p&gt;Stack Overflow released their &lt;a href=&quot;http://stackoverflow.com/research/developer-survey-2015&quot; title=&quot;Stack Overflow Developer Survey 2015&quot; target=&quot;_blank&quot;&gt;2015 Developer Survey&lt;/a&gt; this week, and it has some interesting results. There are plenty of articles being written about their findings, so I’m only going to focus on one of them: version control.
&lt;!--more--&gt;&lt;/p&gt;

&lt;h2&gt;9.3% of Respondents Don&apos;t Use Version Control&lt;/h2&gt;

&lt;p&gt;&lt;img src=&quot;http://arnesonium.com/wp-content/uploads/2015/04/Screenshot-from-2015-04-08-192457.png&quot; alt=&quot;Almost 10% of programmers aren&apos;t using version control.&quot; width=&quot;300&quot; height=&quot;188&quot; class=&quot;size-medium wp-image-345&quot; /&gt;&lt;/p&gt;

&lt;p&gt;StackOverflow says that &lt;a href=&quot;http://stackoverflow.com/research/developer-survey-2015#tech-sourcecontrol&quot; title=&quot;Stack Overflow Developer Survey 2015&quot; target=&quot;_blank&quot;&gt;almost 10% of developers still aren’t using version control&lt;/a&gt;. This is terrible. If you happen to be one of the developers who hasn’t adopted version control yet, &lt;b&gt;make it your next priority!&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Version control, also known as source control or revision control, is vital to best programming practices. It provides an incremental backup along with comments and notes on changes that have been made. It provides a view of changes and all kinds of handy features, such as handling conflicts between changes, release tagging, code branches, and more. If you aren’t sure what version control is, check out Ilya Olevsky’s post, &lt;a href=&quot;http://www.codeservedcold.com/version-control-importance/&quot; title=&quot;Why Version Control is Critical to Your Success&quot; target=&quot;_blank&quot;&gt;“Why Version Control is Critical to Your Success,”&lt;/a&gt; and then come back here.&lt;/p&gt;

&lt;h2&gt;Essential to Collaboration and Continuity&lt;/h2&gt;

&lt;p&gt;If you are looking to hire a freelance developer, make sure you hire one that uses version control. It is essential to maintaining a healthy history of code releases, project updates, and bug fixes. What if you only need to use your freelancer every once in a while? What if you decide to add more developers, or change developers all together? Without version control, this becomes a nightmare.&lt;/p&gt;

&lt;p&gt;A client recently brought me a project that had been built by another developer a couple of years ago. They wanted to move their web application from one host to another. However, there was a lot that needed to be cleaned up before the move could happen, including some outdated PHP code and odd database settings. In the project’s main directory, there was a mess of old, unused source code files. Just the &lt;code&gt;index.php&lt;/code&gt; file had multiple versions:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;index2.php&lt;/li&gt;
	&lt;li&gt;index3.php&lt;/li&gt;
	&lt;li&gt;indexold.php&lt;/li&gt;
	&lt;li&gt;index.php_old&lt;/li&gt;
	&lt;li&gt;index.php_bak&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In all, there were 598 unused files that were unnecessary backups of old, broken code. This type of mess is easily avoided with version control. Please stay sane, keep your customers happy, and your source code easy to navigate. Use version control.&lt;/p&gt;

&lt;h2&gt;Getting Started with Version Control&lt;/h2&gt;

&lt;p&gt;&lt;img src=&quot;http://arnesonium.com/wp-content/uploads/2015/04/git-logo.png&quot; alt=&quot;git-logo&quot; width=&quot;220&quot; height=&quot;92&quot; class=&quot;alignright size-full wp-image-347&quot; /&gt;&lt;/p&gt;

&lt;p&gt;If you’ve decided to make the right move and start using version control, you will see that there are many to choose from. However, if you’re just going to learn one, you should start with &lt;b&gt;Git&lt;/b&gt;. As you can see from the survey, it is the most widely used. The best place to start is probably in the free e-book offered by the Git development team. &lt;a href=&quot;http://git-scm.com/book/en/v1/Getting-Started&quot; title=&quot;Git: Getting Started&quot; target=&quot;_blank&quot;&gt;Click here to get started.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;If You&apos;re Doing It, Thank You&lt;/h2&gt;

&lt;p&gt;The first time I encountered a team that wasn’t using version control, I was shocked. The second time, I sighed in exasperation. Now, I am thankful that over 90% of developers are using it, and I look forward to the day that every project I join comes with a &lt;code&gt;git log&lt;/code&gt; command. If you are using version control, I hope you spread the word and make sure that your fellow programmers are doing it, too. Save the rest of us some pain!&lt;/p&gt;

&lt;p&gt;As a bonus, here’s my favorite &lt;code&gt;git log&lt;/code&gt; command. Add it to your aliases.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;git log &lt;span class=&quot;nt&quot;&gt;--oneline&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--graph&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--all&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--decorate&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;small&gt;&lt;em&gt;The featured image for this post is a pile of logs, to remind you that logs are important, and a vital part of version control.&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;</content>
      </entry>
    
</feed>
