GitHub Essentials
eBook - ePub

GitHub Essentials

  1. 190 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

GitHub Essentials

About this book

Unleash the power of collaborative development workflow using GitHub, one step at a time

About This Book

  • Effectively use GitHub by learning its key features that leverage the power of Git and make collaboration on code easy to work with.
  • Be more productive on the development workflow of your projects using the valuable toolset that GitHub provides.
  • Explore the world of GitHub by following simple step-by-step real world scenarios accompanied by helpful, explanatory screenshots

Who This Book Is For

Intended for experienced or novice developers with a basic knowledge of Git. If you ever wanted to learn how big projects like Twitter, Google or even GitHub collaborate on code then this book is for you

What You Will Learn

  • Create and upload repositories to your account
  • Create organizations and manage teams with different access levels on repositories
  • Use effectively the issue tracker and add context to issues with labels and milestones
  • Schedule and release versions of your software
  • Work effectively with a team and collaborate on code
  • Create, access, and personalize your user account and profile settings
  • Build a community around your project using the sophisticated tools GitHub provides
  • Build easy to deploy, free of charge static websites for your projects

In Detail

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.

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.

Style and approach

A step-by-step guide with real world scenarios accompanied by helpful images. Each topic is thoroughly explained with hands-on-examples and code where needed. At the end of each chapter there is a Tips and tricks section presenting hidden or overlooked features of GitHub.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

GitHub Essentials


Table of Contents

GitHub Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Brief Repository Overview and Usage of the Issue Tracker
Exploring the repository's main page
Creating a new repository
The commits page and a comparison with the git log command
The branches page and a comparison with the git branch command
The Raw, Blame, and History buttons
The Watch, Star, and Fork buttons
Changing the description and URL
Learning how to use the powerful benefits of the issue tracker
Creating a new issue
Assigning issues to users
Labels
Why labels are a great asset to UX
Creating new label names and setting different colors
Using labels to group issues
Milestones
Why milestones are a great help when working with code versioning
Creating a new milestone
Adding issues to milestones
Using milestones to see which issues are resolved or are yet to be resolved
Tips and tricks
Learning about the README file
Navigating easily with keyboard shortcuts
Summary
2. Using the Wiki and Managing Code Versioning
Using the wiki
Why wikis are a nice place to document your project
Create a new wiki page
Deleting a page
A Markdown-powered wiki โ€“ an introduction to Markdown
How to add a sidebar and a footer to your wiki
Watching a wiki page's commit history and reverting to a previous state if needed
Managing code versioning
Creating a release
Editing a release
Pushing a tag from the command line
Marking as prerelease
Making a draft of a release
Uploading your own files
Tips and tricks
Subscribing to new releases via atom feed
Editing the wiki locally
Installing gollum
Cloning the wiki and see the preview in your browser
Making changes locally and pushing to GitHub
Summary
3. Managing Organizations and Teams
The difference between users and organizations
Organization roles and repository permission levels
Creating an organization
Global member privileges
Repositories
Teams โ€“ a great way to grant selective access to your organization projects
Creating a team
Inviting people
Accepting an invitation
Team members permissions
Request to join a team
Step 1 โ€“ as a user
Step 2 โ€“ as a user
Step 3 โ€“ as an owner or team maintainer
Adding repositories to a team
The People tab
Managing access levels
Difference between Members and Outside collaborators
Demoting to an outside collaborator
Invite members
Organization settings
Profile
Team privacy
The third-party access
Audit log
Tips and tricks
How to transfer a project to an organization's namespace
How to convert a user account into an organization
Mention teams
Organization feed only in dashboard
Summary
4. Collaboration Using the GitHub Workflow
Learn about pull requests
Why pull requests are a powerful asset to work with
The connection between branches and pull requests
Create branches directly in a project โ€“ the shared repository model
Create branches in your fork โ€“ the fork and pull model
How to create and submit a pull request
Use the Compare & pull request button
Use the compare function directly
Use the GitHub web editor
The shared repository model
The fork and pull model
Submit a pull request
Peer review and inline comments
The layout of a pull request
Inline comments
Pull requests overview
Correct mistakes and re-push to branch
Merge the pull request
Remove/restore a branch after the pull request is merged
Revert a pull request
Tips and tricks
Close issues via commit messages
Task lists in pull requests
Downloading the diff of pull requests
A global list of your open pull requests
Adding a LICENSE file using the web editor
Creating new directories using the web editor
Summary
5. GitHub Pages and Web Analytics
GitHub Pages
User, organization, and project pages
Creating a user or an organization page
Creating a project page manually
Creating a project page with GitHub page generator
Updating a project page with GitHub page generator
Using a custom domain
How to customize your page using Jekyll
Installing Jekyll
Introduction to Jekyll
Read more about Jekyll
Web analytics
Graphs
Contributors โ€“ additions/deletions
See a repository's traffic โ€“ visitors,...

Table of contents

  1. GitHub Essentials

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, weโ€™ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere โ€” even offline. Perfect for commutes or when youโ€™re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access GitHub Essentials by Achilleas Pipinellis in PDF and/or ePUB format, as well as other popular books in Informatica & Sviluppo di applicazioni. We have over one million books available in our catalogue for you to explore.