9
Let’s have a look around the GitHub website. Log on to your GitHub profile. This will open your profile landing page—this is universally called the newsfeed page
My newsfeed page looks like this (well apart from the lines I’ve drawn all over it):
We’ve seen this page in the earlier sections, but I didn’t really explain it—let’s look through what we have:
Starting at the top with the navigation bar:
—searches GitHub for repositories and entries in README files
—create a new repository
—view your profile and settings
The main area:
The top of the main area shows
, the one that is currently on the page “ ” is the default notification you get when you create a profile—I tend to close the notification area (click the cross indicated).I’m a right miserable bastard).
, are blogs and articles that GitHub thinks you might be interested in (again I close this box—watching in the creepy terminology of GitHub). If you view any GitHub user profile, you will be given the option to follow that user; similarly, if you view a particular repository, you can watch that repository. In either case, any relevant postings or activity will show on you newsfeed page.
, this shows posts and activity by any user you might be following (Finally, the (forked in GitHub’s vulgar parlance). This is a quick way to access your repositories or create a new one.
; this is a list of your repositories and any other repositories that you may have copiedAfter I’ve simplified things, the PracticalSeries-lab newsfeed page looks like this:
By and large, the newsfeed page is really only useful as a quick way to access your repositories.
Let’s look at a repository home page, click on the lab-01-website link in the section:
Clicking any repository link opens the home page for that repository; this is the lab-01-website home page:
Starting at the top, the § 9.1.1
, this is identical to that inThe Figure 9.1) and the repository home page (this page) respectively. These are quick links to return to the landing page for either the user or the repository—they are visible from most pages in a repository.
link and the link navigate to the profile newsfeed page (The
allow the user to view the various aspects of the repository; these are covered in the following sections.Beneath the
is the (entered when the project was created). This description can be modified by clicking the button. The link can be used to add keywords to the description; these keywords are used to make the repository more discoverable in GitHub searchesFollowing this is the § 8.3.2), I go through the more useful elements of this bar in this section and the next.
(I covered some aspects of this inNext we have the
, these allow various actions to be taken within the repository (change or create branches, create files &c.).The
shows the on the current branch; when it was made, who made it and the first line of the commit message. This is the pale blue band across the middle of the page.Underneath this is the current repository directory (
). This allows files and folders to be opened and edited.Finally, there is a preview of the README.md file in all its technicolour glory.
Some of this stuff we’ve already used and some of it is new. I’m not going to go through absolutely all of it (there is some stuff in there I’ve never even looked at), but I will cover the main bits in some detail in the following sections.