Setting Up Your GitHub Account

After creating a GitHub account you should set SSH key in your account. I’m not gonna explain its purpose here, but this is kind of an authorization to your currently working PC, to submit codes to your GitHub account.

To create a SSH code,
  1. Go to your personal folder
  2. Open Git Bash
  3. Type ssh-keygen –t rsa –C “yourEmailAddress”
  4.  Press Enter until being asked for a password
  5. Type in your password (You may use your GitHub account password 😊)
  6. Go to your personal folder again, open  .SSH folder
  7. Open id_rsa.pub in notepad and copy the content
  8. Now go to your GitHub account → settings → SSH and GPG keys
  9. Select  on the top right corner
  10. Type any Title (usually the name of your PC) and then paste the Key
  11. Click Add SSH Key
To test whether the added SSH key works properly, go to Git Bash, type
ssh –T git@github.com
Enter your password,
If you haven’t missed any of the above steps you’ll get a “Successful Message”

Now you’re all set, and about to start using GitHub. Cheers!! J
Click on to create a new repository and give your repo a name that you prefer

Ta dah! Here you’ve created your first GitHub repository!

Now all that is left is to use Git Bash and execute some git commands.😃




No comments:

Post a Comment