Code collaboratively with GitHub

Once you've learned the basics of coding the next step is to start sharing your expertise, learning from other coding pros, or working as a collaborative member of development teams. GitHub is the go-to community for facilitating coding collaboration, and GitHub For Dummies is the next step on your journey as a developer.

Written by a GitHub engineer, this book is packed with insight on how GitHub works and how you can use it to become a more effective, efficient, and valuable member of any collaborative programming team.

* Store and share your work online with GitHub

* Collaborate with others on your team or across the international coding community

* Embrace open-source values and processes

* Establish yourself as a valuable member of the GitHub community

From setting up GitHub on your desktop and launching your first project to cloning repositories, finding useful apps on the marketplace, and improving workflow, GitHub For Dummies covers the essentials the novice programmer needs to enhance collaboration and teamwork with this industry-standard tool.



Autorentext

Sarah Guthals, PhD is a social software engineer, entrepreneur, and former engineering manager at GitHub. She is coauthor of Helping Kids with Coding For Dummies. Phil Haack is a former engineering director at GitHub and senior program manager at Microsoft. He is author of a number of books on ASP.NET.

Klappentext

  • Create a repository for your coding projects
  • Personalize your workflow with GitHub tools and integrations
  • Collaborate on open source software projects

Team up with GitHub and improve your coding workflow

Once you know the basics of coding, it's time to tap into the power of collaboration. That's what GitHub is all about. It provides an online place to store your code and create projects together with others. This handy guide shows you step by step how it works, how to set it up, and how to make the most of this collaborative tool. You'll learn to create repositories for your code, work together with team members, incorporate open source resources, and become a valued member of the GitHub community.

Inside...

  • Set up local tools like GitHub Desktop, Atom, and VS Code
  • Create your first repository
  • Create forks and clone projects
  • Incorporate open source values in every project
  • List your apps on the GitHub marketplace
  • Improve your workflow


Zusammenfassung

Code collaboratively with GitHub

Once you've learned the basics of coding the next step is to start sharing your expertise, learning from other coding pros, or working as a collaborative member of development teams. GitHub is the go-to community for facilitating coding collaboration, and GitHub For Dummies is the next step on your journey as a developer.

Written by a GitHub engineer, this book is packed with insight on how GitHub works and how you can use it to become a more effective, efficient, and valuable member of any collaborative programming team.

  • Store and share your work online with GitHub
  • Collaborate with others on your team or across the international coding community
  • Embrace open-source values and processes
  • Establish yourself as a valuable member of the GitHub community

From setting up GitHub on your desktop and launching your first project to cloning repositories, finding useful apps on the marketplace, and improving workflow, GitHub For Dummies covers the essentials the novice programmer needs to enhance collaboration and teamwork with this industry-standard tool.



Inhalt

Introduction 1

About This Book 1

Foolish Assumptions 2

Icons Used in This Book 3

Beyond the Book 3

Where to Go from Here 4

Part 1: Getting Started with GitHub.Com 5

Chapter 1: Understanding the Git in GitHub 7

Introducing GitHub 7

Understanding Version Control 8

Git Version Control 8

Try simple Git on the terminal 9

Git branching by collaborator 14

Git branching by feature 15

Git branching for experimentation 16

Git's Place on GitHub 16

Signing Up for GitHub.com 17

Personalizing Your GitHub.com Account 18

Account 19

Emails 19

Notifications 21

Billing 21

SSH and GPG keys 22

Security 23

Sessions 23

Blocked users 23

Repositories 23

Organizations 23

Saved replies 24

Applications 24

Developer settings 25

Discovering Helpful Resources 25

Chapter 2: Setting Up Your Collaborative Coding Environment 27

Exploring GitHub.com 27

Understanding Your Profile 32

Getting to Know GitHub Desktop 33

Setting up GitHub Desktop 34

Introducing Atom 35

Part 2: Starting Your First Solo Project 39

Chapter 3: Introducing GitHub Repositories 41

Setting Up a Repository 41

Exploring Your Repository 44

Top information 44

Tabs 45

Code tab 46

Modifying README.md 48

Merging a Pull Request 53

Using Issues and Project Boards 56

Creating a project board and an issue 56

Closing an issue 60

Chapter 4: Setting Up a GitHub Website Repo 63

Introducing GitHub Pages 64

Turning a Project Repo into a Website 64

Setting Up a Personal Website Repo 66

Creating Issues for Your Website 69

Setting Up Your Local Environment 71

Cloning a repo in GitHub Desktop 71

Touring GitHub Desktop 72

Opening your repo in Atom 74

Touring Atom 74

Finding Resources for GitHub Pages 76

Chapter 5: Creating a Website with GitHub Pages 77

Jumping into an Existing GitHub Project 77

Accessing the GitHub.com repo 78

Verifying your permissions for the repo 79

Orienting yourself with the project 80

Preparing Your Contribution 83

Creating a branch for your contribution 83

Confirming your branch is published 86

Building Your Personal Website 91

Modifying the title and tagline 91

Adding sections to your website 91

Creating a blog 92

Linking project repos 93

Part 3: Contributing to Your First Project 95

Chapter 6: Forking GitHub Repositories 97

Introducing Forking 97

Cloning, Forking, and Duplicating 98

Cloning a Repository 99

Forking a Repository 100

Fetching changes from upstream 103

Contributing changes to upstream 104

Getting unstuck when cloning without forking 107

Chapter 7: Writing and Committing Code 113

Creating a Repository 113

Writing Code 114

Creating a Commit 116

Staging changes 117

Committing a file 118

Committing multiple file: 119

Writing a Good Commit Message 120

Committing Code with GitHub Desktop 122

Tracking a repository in Desktop 123

Publishing a repository in Desktop 124

Committing in Desktop ...

Titel
GitHub For Dummies
EAN
9781119572664
Format
E-Book (pdf)
Hersteller
Veröffentlichung
29.04.2019
Digitaler Kopierschutz
Adobe-DRM
Dateigrösse
51.47 MB
Anzahl Seiten
368