O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing GitHub, 2nd Edition

Book Description

If you’re new to GitHub, this concise book shows you just what you need to get started and no more. It’s perfect for project and product managers, stakeholders, and other team members who want to collaborate on a development project—whether it’s to review and comment on work in progress or to contribute specific changes. It’s also great for developers just learning GitHub.

GitHub has rapidly become the default platform for software development, but it’s also ideal for other text-based documents, from contracts to screenplays. This hands-on book shows you how to use GitHub’s web interface to view projects and collaborate effectively with your team. The updated second edition covers code review, and includes updates to the desktop application, the Atom text editor, protected branches, and project management features.

  • Keep track of, and work with, developers more effectively
  • Learn the basics so you can contribute to your software projects
  • Understand foundational Git knowledge, including commits and cloning
  • Get tips on positive interaction with developers

Table of Contents

  1. Preface
    1. Who This Book Is For
    2. Beyond Software
    3. Who This Book Is Not For
    4. How to Use This Book
    5. Conventions Used in This Book
    6. O’Reilly Safari
    7. How to Contact Us
    8. Acknowledgments
  2. 1. Introduction
    1. What Is Git?
    2. What Is GitHub?
    3. Why Use Git?
    4. Why Use GitHub?
    5. Key Concepts
  3. 2. Viewing
    1. Introducing the Repository Page
    2. Viewing the README.md File
    3. Viewing the Commit History
    4. Viewing Pull Requests
    5. Viewing Issues
    6. Viewing Projects
    7. Viewing Insights
      1. Viewing the Pulse
      2. The Contributors Graph
      3. The Community Profile
      4. The Commits Graph
      5. The Code Frequency Graph
      6. The Dependency Graph
      7. The Network Graph
      8. The Forks List
      9. The Traffic Graph
  4. 3. Creating and Editing
    1. Creating a Repository
    2. Adding a File
    3. Editing a File
    4. Renaming or Moving a File
    5. Working with Folders
      1. Creating a Folder
      2. Renaming a Folder
    6. The Limits of Editing on GitHub
  5. 4. Collaboration
    1. Contributing via a Fork
    2. Adding a File
    3. Creating a Pull Request
    4. Committing to a Branch
    5. Creating a Pull Request from a Branch
    6. Collaborating on Pull Requests
      1. Involving People with Pull Requests
      2. Reviewing Pull Requests
      3. Commenting on Pull Requests
      4. Adding Color to Comments
      5. Contributing to Pull Requests
      6. Testing a Pull Request
      7. Merging a Pull Request
      8. Who Should Merge a Pull Request?
      9. Pull Request Notifications
      10. Best Practices for Pull Requests
  6. 5. Project Management
    1. GitHub Issues
      1. Creating a New Issue
      2. Managing Milestones for Issues
      3. Managing Labels for Issues
      4. Commenting on Issues
      5. Referencing Issues in a Commit
      6. Best Practices for Issues
    2. GitHub Projects
      1. Creating a Project Board
      2. Creating Columns and Adding Cards
      3. Closing, Editing, or Deleting Project Boards
  7. 6. Publishing Content
    1. Wikis
      1. Getting Started with a Wiki
      2. Adding and Linking to a Page on Your Wiki
    2. GitHub Pages
      1. Creating a Website for Your Project
      2. Creating a Website for Yourself or Your Organization
  8. 7. Configuring Repositories and Organizations
    1. Configuring a Repository
    2. Adding Collaborators
    3. Configuring Branches
      1. Protected Branches
    4. Integrating with Other Systems
    5. Personal Versus Organizational
    6. Creating an Organization
    7. Configuring Your Organization
      1. Organization Profile
      2. Member Privileges
      3. Billing
      4. Security
      5. Audit Log
      6. Blocked Users
      7. Webhooks
      8. Third-Party Access and Installed GitHub Apps
      9. Repository Topics
      10. Projects
    8. Managing Members and Teams
  9. 8. Downloading and Working Offline
    1. Why Clone a Repository?
    2. GitHub Desktop
      1. Viewing Changes
    3. GitHub Desktop and Atom
      1. Creating a Branch and Editing Files
      2. Creating a Commit
      3. Creating a Pull Request from GitHub Desktop
  10. 9. Next Steps
  11. Index