John Blischak Mention Box 4 on licensing in main text. Will need to switch box numbers, but that can wait until all the new content has been added.  almost 9 years ago

Commit id: a9b8382b4e6a13553d10c95b0162320734c289c7

deletions | additions      

       

\subsection{Share your code}  Once you have your files saved in a Git repository, you can share it with your collaborators and the wider scientific community by putting your code online. online (see Box 4 for advice on licensing your code).  This also has the added benefit of creating a backup of your work and provides a mechanism for syncing your files across multiple computers.  Sharing a repository is made easier if you use one of the many online services that host Git repositories (Table 1), e.g. GitHub.  Note, however, that any files that have not been tracked with at least one commit are not included in the Git repository, even if they are located within the same directory on your local computer (see Box 3 for advice on the types of files that should not be versioned with Git). 

Now you need to send the code on your computer to GitHub.  The key to this is the URL that GitHub assigns your newly created remote repository.  It will have the form \verb|https://github.com/username/reponame.git|, e.g. \verb|https://github.com/scientist123/thesis.git|.  Notice that this URL is using the HTTPS protocol, which is the quickest to begin using.  However it requires you to enter your username and password when communicating with GitHub, so you'll want to considering switching to the SSH protocol once you are regularly using Git and GitHub (see \href{https://help.github.com/articles/generating-ssh-keys/}{help.github.com/articles/generating-ssh-keys} for directions).  In order to link the local thesis repository on your computer to the remote repository you just created, in your local repository you need to tell Git the URL of the remote repository using the command \verb|git remote add|.  \begin{lstlisting}