Chapter 18 Lab GitHub Account

The lab has a shared github account called tiroshlab (GitHub Repo). This allows an unlimited number of us to collaborate on multiple projects (also known as repositories) at once, and also provides a page to which non-lab-members can navigate to see, download or contribute (upon request) to our code.

18.1 How do I join?

To become a member of the account, you should send your GitHub username to Julie () or to Mike (). If you don’t have a personal account, you should first sign up at this link. Once you’re added, you’ll be able to easily make changes to existing projects or add new ones.

18.2 What is an organization account and how do I sign in?

tiroshlab is an organization account: like personal accounts, organizations can own resources such as repositories, packages, and projects. However, you cannot sign into an organization. Instead, each person signs into their own personal account, and any actions the person takes on organization resources are attributed to their personal account. Each personal account can be a member of multiple organizations.

18.3 How do I add or edit a repository?

18.3.1 Option 1: Using the GitHub website

  • To add a new repository, navigate to the tiroshlab GitHub Repo, and click the green New button.
  • To make changes to an existing repository, navigate to the GitHub page in question (e.g. 3CA project) and use the icons to add files or open existing files.

18.3.2 Option 2: Using the git command line interface

Proceed as you would for any other git repository, using your personal git credentials to push/pull commits to the tiroshlab repository.

18.4 The lab book repository

The lab book is one of the GitHub repositories on the tiroshlab account (GitHub Repo). Therefore, you can add or edit it as you would any other repository. However, we also build the lab book as a website using GitHub pages (Website). The Github Repo and the Website are synced, so it doesn’t matter which ‘form’ of the lab book you make your edits to.

See Section 1.2: Adding to the book for step-by-step instructions on adding to the book.