The respository will now be set-up with your readme and license files. When you’re done, hit the Create Respository button. It’s recommended that you choose a license type too, MIT License is fairly common for open source work. Set the visibility to Public and initialise with a README file so you can easily add a description and notes about the repository. On the next page complete the details for the Respository name and a Description. In your home page on Github, click on Repository and then New to start adding a new repository. Now that we’re all set-up with Git and Github, and we’ve set-up a folder on our local system that’s been initiliased as a Git repository - we just need to add a remote repository on Github that we can commit our local files to. In a console window type the following command. We need to copy to the clipboard the contents of the id_rsa_pub file we created earlier. On the right hand side, select New SSH Key which will present you with an area to paste your public SSH key text into. In the Settings sidebar, select the SSH and GPG Keys option. Then in the top right corner click on your profile photo and select settings. Navigate back to and ensure you’re signed-in to your account. Now we have both Git and the SSH keys set-up on our local system and a Github account created so we can have access to hosted repositories, we need to link them together using the SSH keys. Once you’ve verified your email address the account will be active and you can go back to edit your profile later on. Navigate to and from the home page sign-up for an account. Now that we have Git working on our local system and the SSH keys we’ll need in order to connect to a remote service, let’s set-up the Github account so we can then finish connecting the two. Ssh-add -l Set-up and Connect to a Github Account
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |