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)

Merge the pull request


After the conversation took place, changes were made and the peer review worked as expected, it's now time to finally merge the pull request.

If you don't have access to merge the pull request, you should see the following result:

On the other hand, owners or collaborators with write access can also merge pull requests. In this case, you should see the Merge pull request green button. Pressing this button will not merge it immediately, but you will have another chance to confirm:

The commit message of this merge is the one in bold, and the one below that can be edited is the extended commit message which by default grabs the pull request title. In the extended commit message you can reference issue numbers with a special meaning. Read more in the Tips and tricks section of this chapter to learn how to automatically close issues from pull requests.

Once merged, you can see the green icons turning into purple. This indicates a merged pull request.

Remove/restore a branch...