Saturday, 27 June 2015

how to connect ur PC with github so as to push ur projects to github.



 HOW  TO  CONNECT  UR  PC  WITH  GITHUB  SO AS TO  PUSH  UR  PROJECT  TO GITHUB.

Best link to learn github (push) :- www.howtoforge.com/tutorial/install-git-and-github-on-ubuntu-14.04/

Best Link to learn (pull) :- https://help.github.com/articles/importing-a-git-repository-using-the-command-line/

STEPS :-

1)  GENERATE THE .SSH KEYS (ONE PUBLIC AND ONE PRIVATE).

     $ ssh -keygen -t  rsa  -C  "uremailid.com"

     $ ssh  -T git@github.com     ( command for connection testing )

2)  ENTER THE PUBLIC KEY  IN  GITHUB (in ur account ) .

        NOW CONNECTION  HAS BEEN MADE :)

3) now, WE WILL  ADD  OUR  PROJECTS  TO  GITHUB.

       $ git  remote add  origin  git@github.blah__blah__ydsushj.git

      (here git@github.blah__blah__ydsushj.git    is   the  name  of  ur repository  in github ,, u named it
       temporarily  as  "origin ". Here "origin" is just a variable ).

4) now final stage push ur project.

    $ git push origin master .









Thursday, 25 June 2015

How to install and use GitBash (command line version of Git) in windows


Link imporatnt       https://help.github.com/articles/generating-ssh-keys/
DOWNLOAD  gitbash ( command line version of Git )

1) download from https://git-scm.com/download/win

2) after installing ,configure the path of the project folder 
gitbash-->> properties-->> startin: 

3) create a folder in that folder named git projects

4) by using command -->> ( $ git project init gitproject )  gitproject 
folder become the master folder