Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

getting-started-with-github-desktop.md 11 KB

You have to be logged in to leave a comment. Sign In
title intro miniTocMaxHeadingLevel versions
Getting started with GitHub Desktop Learn how to set up, authenticate, and configure {% data variables.product.prodname_desktop %} to allow you to contribute to projects directly from your machine. 4 [{free-pro-team *}]

Introduction

{% data variables.product.prodname_desktop %} is an application that enables you to interact with {% data variables.product.prodname_dotcom %} using a GUI instead of the command line or a web browser. {% data variables.product.prodname_desktop %} encourages you and your team to collaborate using best practices with Git and {% data variables.product.prodname_dotcom %}. You can use {% data variables.product.prodname_desktop %} to complete most Git commands from your desktop with visual confirmation of changes. You can push to, pull from, and clone remote repositories with {% data variables.product.prodname_desktop %}, and use collaborative tools such as attributing commits and creating pull requests.

This guide will help you get started with {% data variables.product.prodname_desktop %} by setting up the application, authenticating your account, configuring basic settings, and introducing the fundamentals of managing projects with {% data variables.product.prodname_desktop %}. You will be able to use {% data variables.product.prodname_desktop %} to collaborate on projects and connect to remote repositories after working through this guide.

You might find it helpful to have a basic understanding of Git and {% data variables.product.prodname_dotcom %} before getting started with {% data variables.product.prodname_desktop %}. For more information, see the following articles.

{% data variables.product.prodname_desktop %} is an open source project. You can see the roadmap, contribute to the project, or open an issue to provide feedback or feature requests. For more information, see the desktop/desktop repository.

Part 1: Installing and authenticating

You can install {% data variables.product.prodname_desktop %} on any supported operating system. For more information, see "Supported operating systems."

To install {% data variables.product.prodname_desktop %}, visit the download page for {% data variables.product.prodname_desktop %}. For more information, see "Installing {% data variables.product.prodname_desktop %}."

After you have installed {% data variables.product.prodname_desktop %}, you can authenticate the application with your account on {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}. Authenticating allows you to connect to remote repositories on {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}.

{% mac %}

  1. Before you can authenticate to {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}, you will need an account. For more information about creating an account, see "Signing up for a new {% data variables.product.prodname_dotcom %} account" or contact your {% data variables.product.prodname_enterprise %} site administrator.

  2. In the {% data variables.product.prodname_desktop %} drop-down menu, click Preferences. In the preferences window, click Accounts and follow the steps to sign in. For more information on authenticating, see "Authenticating to {% data variables.product.prodname_dotcom %}." The Sign In button for GitHub

{% endmac %}

{% windows %}

  1. Before you can authenticate to {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}, you will need an account. For more information about creating an account, see "Signing up for a new {% data variables.product.prodname_dotcom %} account" or contact your {% data variables.product.prodname_enterprise %} site administrator.

  2. In the File drop-down menu, click Options. In the options window, click Accounts and follow the steps to sign in. For more information on authenticating, see "Authenticating to {% data variables.product.prodname_dotcom %}." The Sign In button for GitHub

{% endwindows %}

Part 2: Configuring and customizing {% data variables.product.prodname_desktop %}

After you install {% data variables.product.prodname_desktop %}, you can configure and customize the app to best suit your needs.

{% mac %}

You can connect or remove accounts on {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}, choose a default text editor or shell, edit your Git configuration, change the appearance of {% data variables.product.prodname_desktop %}, customize system dialog boxes, and set privacy preferences in the {% data variables.product.prodname_desktop %} Preferences window. For more information, see "Configuring basic settings."

The basic settings in the Preference window

{% endmac %}

{% windows %}

You can connect or remove accounts on {% data variables.product.prodname_dotcom %} or {% data variables.product.prodname_enterprise %}, choose a default text editor or shell, edit your Git configuration, change the appearance of {% data variables.product.prodname_desktop %}, customize system dialog boxes, and set privacy preferences in the {% data variables.product.prodname_desktop %} Options window. For more information, see "Configuring basic settings."

The basic settings in the Options window

{% endwindows %}

Part 3: Contributing to projects with {% data variables.product.prodname_desktop %}

After installing, authenticating, and configuring the app, you are ready to start using {% data variables.product.prodname_desktop %}. You can create, add, or clone repositories and use {% data variables.product.prodname_desktop %} to manage contributions to your repositories.

Creating, adding, and cloning repositories

You can create a new repository by selecting the File menu and clicking New repository.... For more information, see "Creating your first repository using {% data variables.product.prodname_desktop %}."

You can add a repository from your local computer by selecting the File menu and clicking Add Local Repository.... For more information, see "Adding a repository from your local computer to {% data variables.product.prodname_desktop %}."

You can clone a repository from {% data variables.product.prodname_dotcom %} by selecting the File menu and clicking Clone Repository.... For more information, see "Cloning and Forking Repositories from {% data variables.product.prodname_desktop %}."

{% mac %}

The File menu options for creating, adding, and cloning repositories

{% endmac %}

{% windows %}

The File menu options for creating, adding, and cloning repositories

{% endwindows %}

Making changes in a branch

You can use {% data variables.product.prodname_desktop %} to create a branch of a project. Branches isolate your development work from other branches in the repository, so that you can safely experiment with changes. For more information, see "Managing branches."

The New Branch button

After you make changes to a branch, you can review them in {% data variables.product.prodname_desktop %} and make a commit to keep track of your changes. For more information, see "Committing and reviewing changes to your project."

Viewing and making commits

If you want to access your changes remotely or share them with other people, you can push your commits to {% data variables.product.prodname_dotcom %}. For more information, see "Pushing changes to {% data variables.product.prodname_dotcom %}."

Collaborating with {% data variables.product.prodname_desktop %}

You can use {% data variables.product.prodname_desktop %} to create issues or pull requests to collaborate on projects with other people. Issues help you keep track of ideas and discuss possible changes to projects. Pull requests let you share your proposed changes with others, receive feedback, and merge changes into a project. For more information, see "Creating an issue or pull request."''

You can view your own or your collaborator's pull requests in {% data variables.product.prodname_desktop %}. Viewing a pull request in {% data variables.product.prodname_desktop %} lets you see any proposed changes and make additional changes by opening the project's files and repositories in your default text editor. For more information, see "Viewing a pull request in {% data variables.product.prodname_desktop %}."

Keeping your local repository in sync

When you make changes to your local repositories or when other people make changes to the remote repositories, you will need to sync your local copy of the project with the remote repository. {% data variables.product.prodname_desktop %} can keep your local copy of a project in sync with the remote version by pushing and pulling commits. For more information, see "Syncing your branch."

Further reading

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...