-- Download How to pull project from Github to Putty as PDF --
In this Tutorial we are going to learn How to upload Project from Github to server using Putty ?
What is Putty?
PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection
Prerequisites:
putty
Process:
1.
Download Putty from below url
For downloading putty see below screenshot
2.Open Putty
For Connecting Putty to Server Follow below steps
i )Enter your server Ip Address
ii)Click on “Open” Button and see new window will open
iii)Once the SSH Connection is open, you should see a terminal prompt
asking for your username:
login as: Enter username
iv)Next, enter your password. Please note that you will NOT see your
cursor moving, or any characters typed (such as ******),
when typing your password. This is a standard PuTTY security feature.
Hit enter.
Using keyboard-interactive authentication. username_name@server_ip_address Password:
v) You are now logged into your server . You should see output like this:
username_name@domain_name[~]#
You can begin typing commands at the prompt
For Uploading Project Follow below steps
1.)
A.)Go to Public html Directory
Command : cd public_html
B.)You should see output like this:
username_name@domain_name[~/public_html]#
2.) There is two way for uploading project
i)if you have uploading first time then you have to clone it .
For clone repository follow below steps
username_name@domain_name[~/public_html]#
Command :
git clone https://github.com/[organization_name]/[repository_name].git
Hit enter.
ii)Once you have cloned it then you have to pull it.
a) Command : git pull
Hit enter.
b)You should see like this:
Username for ‘https://github.com’: ’ Enter your github username ’
Hit enter.
c)You should see like this:
Password for ‘https://github.com’: ’ Enter your github password’
Please note that you will NOT see your cursor moving, or any
characters typed (such as ******), when typing your password.
This is a standard PuTTY security feature.
Hit enter.
Once you have uploaded project then no need to clone it again
ii)if you have uploaded project earlier then you have to pull it only
For Pull repository follow below steps
a) Command : git pull
Hit enter.
b)You should see like this:
Username for ‘https://github.com’: ’ Enter your github username ’
Hit enter.
c)You should see like this:
Password for ‘https://github.com’: ’ Enter your github password’
Please note that you will NOT see your cursor moving, or any
characters typed (such as ******), when typing your password.
This is a standard PuTTY security feature.
Hit enter.
Testing or What can go wrong?
-> Check whether you have entered correct username and password While
connecting putty to server
If you have entered wrong username multiple times then
->Check whether you have cloned correct repository or not
Is wrong check again for above steps.



