

Then open the id_rsa.pub file that was generated in the previous section and copy paste the contents in the 'Key' text field as shown below. In the 'Title' text field enter a name for the public key that we will add (in the example below the name “ test-repo” is used). Then on the left-hand side menu click on the SSH keys link.Ĭlick on the Add SSH key button in the top right hand corner. To do so access the GitHub account settings by clicking on the wrench/screwdriver icon in the top right-hand corner. Next step is to add the public SSH key to your GitHub account.

Enter a repository name and check the 'Initialize this repository with a README' checkbox so a README.md is automatically added as shown below. Add a new remote repository by clicking the + New repository button. Configure GitHubĬreate an account at GitHub and sign in. The id_rsa file contains your private key and the id_rsa.pub file contains your public key. In the above example the location is: C:\Users\source4code\.ssh. Locate the generated keys by going to the location as shown in the console output. Enter your password twice and the result should be as shown below. Then a passphrase is requested which acts as a password you need to enter each time you want to use your key with SSH. When asked to 'Enter file in which to save the key' just press ENTER to continue. In order to do so enter following commands and replace the value between the quotes with your own values. The first thing that needs to be done is to setup some basic Git parameters like user name and email address. A bash window should appear as shown below. Start the Git command processor by clicking on the Git Bash link inside the Git program group Start>All Programs>Git. At the end click Finish and Git should be successfully installed. In this tutorial, we will use Windows.ĭouble click to run the downloaded '.exe' file and click Next keeping the default settings on the different installer steps. Git GUI Installįirst, let’s start by going to the Git downloads page and download the Git installer for your operating system. We highly recommend you check it out as it is simple to use and very powerful in terms of features.
GIT ADD REMOTE GITHUB FOR MAC
Note that we have switched to Sourcetree which is another free Git GUI alternative for Mac and Windows.
GIT ADD REMOTE GITHUB HOW TO
It is used to share code with other people and a GitHub account is free for open source projects.įollowing tutorial will show you how to setup and configure Git Gui on your Windows computer so you can upload code towards a remote GitHub repository. GitHub is a web-based hosting service for software development projects that use the Git revision control system. GitHub - Add Remote Using Git Gui on Windows
