Github Desktop Macos

broken image


GitHub Gist: instantly share code, notes, and snippets. MacOS users can install using Homebrew package manager: $ brew install -cask github Installers for various Linux distributions can be found on the shiftkey/desktop fork. Arch Linux users can install the latest version from the AUR. What git client are you using? A terminal; GitHub Desktop; I don't know; Download GitHub Desktop. GitHub Desktop is a great way to use Git and GitHub on macOS and Windows. Download GitHub Desktop; Clone the repository. Go to the folder where you want to store your project, and clone the new repository: $.

GitHub is a useful service to manage your codes online. Some developers are using git command from the command line to push and pull codes from GitHub repositories. If you are more of visual type of person, there is a GUI tool for GitHub code management called GitHub Desktop. In this post, let's walkthrough on how to use GitHub Desktop.

Do you want to learn more about the Git command? Check out the below books from Amazon.

Sign Up for an Account

Before using GitHub Desktop, sign up for GitHub if you do not have GitHub account yet. You can sign up your GitHub account at https://github.com/join?source=header-home

Download GitHub Desktop

Github Desktop Macos

Next is download the GitHub Desktop installer from https://desktop.github.com/ and install it in your system.

Github

Launch GitHub Desktop

Once you have completed the installation of GitHub, launch the GitHub Desktop and sign in using your GitHub account.

Create a Repository

Remote desktop mac

Next is download the GitHub Desktop installer from https://desktop.github.com/ and install it in your system.

Launch GitHub Desktop

Once you have completed the installation of GitHub, launch the GitHub Desktop and sign in using your GitHub account.

Create a Repository

While you are launching the GitHub Desktop, create a repository on GitHub.com. Click New to create the new repository.

Assign some repository name and click Create repository. (Repository type can be Public or Private. If you only want to have access only by yourself, select Private.) In this example, I created a repository name of github-desktop-example

Link Repository to your GitHub Desktop

After you have created a repository

Select Clone a Repository from the Internet...

Select the Repository you just created on GitHub.com. In this case, I select the yfujieda/github-desktop-example

Make sure to select the Local Path where you want to sync your repository on your local machine.

Commit and Push a File

Let's try to commit and push a file. Go ahead and create a file (e.g. README.txt) in the local path.

As you can see below, in the GitHub Desktop, README.txt will show up with + (plus) sign. This means, this file is a new addition.

Click Commit to master

Now the README.txt file is committed but it has not been publish (push) to the master branch. So click Publish branch to check in your code in the repository.

Check GitHub.com Repository

If you check the repository on GitHub.com, you will see the README.txt is added in the repository.

Once you have codes to check in, just repeat the same procedures as we did on README.txt.

Install Github Desktop Macos

In How to pip install from GitHub Repo post, You will find out how to use GitHub as a host for Python Package (see How to Create a Python Module Package).

Github Desktop Mac Download

Latest Posts





broken image