Book Image

GitHub Essentials

By : Achilleas Pipinellis
Book Image

GitHub Essentials

By: Achilleas Pipinellis

Overview of this book

<p><span id="description" class="sugar_field">Whether you are an experienced developer or a novice, learning to work with Version Control Systems is a must in the software development world. Git is the most popular tool for that purpose and GitHub was built around it leveraging its powers by bringing it to the web.</span></p> <p><span id="description" class="sugar_field">Starting with the basics of creating a repository you will then learn how to manage the issue tracker, the place where discussion about your project takes place. Continuing our journey we will explore how to use the wiki and write rich documentation that will accompany your project. Organization and team management will be the next stop and then onto the feature that made GitHub so well known, Pull Requests. Next we focus on creating simple web pages hosted on GitHub and lastly we explore the settings that are configurable for a user and a repository.</span></p>
Table of Contents (13 chapters)

Repository settings


There are quite a few settings one can fiddle with at the repository level. To access these settings, search for the wrench icon on the right sidebar:

Changing the default branch that appears in repository's main page

The default branch of a repository's main page is master. However, there are times when you want a different branch to be your default, based on one's workflow as we saw in Chapter 4, Collaboration Using the GitHub Workflow.

Let's just say, for example, that the master branch is where you push code that is considered stable and well-tested, whereas you have a different branch named develop that is used for daily pushes and testing new features. Based on this assumption, the develop branch gets updated more often than the master branch. Practically, you'd want your project to seem active; having a branch that gets updated every day in the front page is much more appealing.

In this case, you can go to the repository's settings page and choose the branch you would...