<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>UH Biocomputation Group - Git</title><link href="http://biocomputation.herts.ac.uk/" rel="alternate"/><link href="http://biocomputation.herts.ac.uk/feeds/tags/git.atom.xml" rel="self"/><id>http://biocomputation.herts.ac.uk/</id><updated>2015-09-16T18:55:19+01:00</updated><entry><title>Why you must use Git and how you use it</title><link href="http://biocomputation.herts.ac.uk/2015/09/16/why-you-must-use-git-and-how-you-use-it.html" rel="alternate"/><published>2015-09-16T18:55:19+01:00</published><updated>2015-09-16T18:55:19+01:00</updated><author><name>Ankur Sinha</name></author><id>tag:biocomputation.herts.ac.uk,2015-09-16:/2015/09/16/why-you-must-use-git-and-how-you-use-it.html</id><summary type="html">&lt;p class="first last"&gt;Ankur Sinha's journal club session on Git.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;If you're part of the group, I assume your research requires you to
programme quite a bit. Even more, I assume your research requires you
to make changes to your code on a daily basis.&lt;/p&gt;
&lt;p&gt;So, how do you go about this?&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;Do you keep different folders for each change?&lt;/li&gt;
&lt;li&gt;How do you backup your code - do you put everything on Dropbox each night? (If you back up at all!?)&lt;/li&gt;
&lt;li&gt;How do you find exactly what changes you made - do you read through your files and try to find them manually?&lt;/li&gt;
&lt;li&gt;How do you share your code with other people (your supervisors, your collaborators?)? Do you send zip files over e-mail?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These are common issues that each coder runs into at some point, and
luckily, there are tools that make all these tasks very very easy and
really really quick.&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="http://github.com"&gt;Github&lt;/a&gt; and &lt;a class="reference external" href="http://bitbucket.com"&gt;Bitbucket&lt;/a&gt; have really changed the software development
process recently. Many projects, such as the &lt;a class="reference external" href="http://opensourcebrain.org/"&gt;Open Source Brain project&lt;/a&gt;
already use Github. The underlying tool that they use is called &lt;a class="reference external" href="https://git-scm.com/"&gt;Git&lt;/a&gt;.
It's simple enough for small projects to use and also efficient enough
to manage the more than 15 million lines of code that make the &lt;a class="reference external" href="https://www.kernel.org/"&gt;Linux
Kernel&lt;/a&gt; - written by &lt;strong&gt;thousands&lt;/strong&gt; of different people.&lt;/p&gt;
&lt;p&gt;In this talk, I'm going to try to convince you that if you write any
code, irrespective of what language it is in and how much it is, you
must use source code management - preferably Git. To do this, I'm going
to show you how to use easily Git on a daily basis, show you how to
collaborate using Git, and then show off some advanced features of Git
that you may need once in a while.&lt;/p&gt;
&lt;p&gt;If you'd like to follow the talk better and use the commands as I show
them, please consider bringing a laptop with &lt;a class="reference external" href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git"&gt;Git installed&lt;/a&gt; on it. On
Linux - Ubuntu variants and Fedora etc., you should be able to install
it using your package manager. On Windows, you'll need to install it
from here: &lt;a class="reference external" href="https://git-scm.com/download/win"&gt;https://git-scm.com/download/win&lt;/a&gt; On Mac, you'll need to get
it from here: &lt;a class="reference external" href="http://git-scm.com/download/mac"&gt;http://git-scm.com/download/mac&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you do have any questions about installing Git, please feel free to
e-mail me off-list.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; 18/09/2015 &lt;br /&gt;
&lt;strong&gt;Time:&lt;/strong&gt; 16:00 &lt;br /&gt;
&lt;strong&gt;Location&lt;/strong&gt;: LB252&lt;/p&gt;
</content><category term="Seminars"/><category term="Git"/><category term="Software development"/></entry></feed>