<h1>LAMMPS GitHub tutorial<aclass="headerlink"href="#lammps-github-tutorial"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="written-by-stefan-paquay">
<h2>written by Stefan Paquay<aclass="headerlink"href="#written-by-stefan-paquay"title="Permalink to this headline">¶</a></h2>
<hrclass="docutils"/>
<p>This document briefly describes how to use GitHub to merge changes
into LAMMPS using GitHub. It assumes that you are familiar with
git. You may want to have a look at the <aclass="reference external"href="http://git-scm.com/book/">Git book</a> to reacquaint yourself.</p>
<hrclass="docutils"/>
<divclass="section"id="making-an-account">
<h3>Making an account<aclass="headerlink"href="#making-an-account"title="Permalink to this headline">¶</a></h3>
<p>First of all, you need a GitHub account. This is fairly simple, just
go to <aclass="reference external"href="https://github.com">GitHub</a> and create an account by clicking
the <ahref="#id1"><spanclass="problematic"id="id2">``</span></a>Sign up for GitHub’’ button. Once your account is created, you
can sign in by clicking the button in the top left and filling in your
username or e-mail address and password.</p>
</div>
<hrclass="docutils"/>
<divclass="section"id="forking-the-repository">
<h3>Forking the repository<aclass="headerlink"href="#forking-the-repository"title="Permalink to this headline">¶</a></h3>
<p>To get changes into LAMMPS, you need to first fork the repository. At
the time of writing, LAMMPS-ICMS is the preferred fork. Go to <aclass="reference external"href="https://github.com/lammps/lammps">LAMMPS on GitHub</a> and make sure branch is
set to <ahref="#id3"><spanclass="problematic"id="id4">``</span></a>lammps-icms’‘, see the figure below.</p>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.