How to setup GitHub using SourceTree?

Fed up with typing commands to push and pull from GitHub??? Thinking of doing it in an easy way??? Here you go..

Source Tree is a free Git client for Windows and Mac. It provides a nice visual interface between you and git, no more command line!!!

Connecting to GitHub using SSH

Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub without supplying username and password at each visit.

  1. Download puttygen.exe from here.
  2. Run the file
  3. Generate your keys
  4. Change the number of bits according to the need
  5. Save the public and private keys

Add a new SSH key to your Github account
  1. Click 'Settings' in your GitHub account
  2. Select 'SSH and GPG keys' 
  3. Click 'New SSH Key'
  4. Give a title and add the Private Key

Connect with Source Tree
  1. Download Source Tree from here.
  2. Run the file
  3. Select 'Tools' in your Source Tree window
  4. Click "Create or Import SSH keys"
  5. Give the same private key that you gave for the GitHub account

Now you have successfully connected with GitHub using SourceTree.

Comments

Popular posts from this blog

Viewing Github profile using OAuth in Java

Security Protection Mechanisms to Safeguard Web Applications