In my last post I explained how to install Git on you PC. Now we are going to look at GitHub.
GitHub is the easiest way to participate in that collaboration: fork projects, send pull requests, monitor development, all with ease. To find out more or to signup go to github.com
Get Started
- First thing first – Make sure that you have Git installed on your PC.
- Setup your SSH-Key and Identify yourself to Git – go to http://is.gd/P9tF and follow the steps on how to setup the SSH-Key and Identify yourself .
- Sign Up for a GitHub account: go to https://github.com/signup/free (We’re doing the FREE thing on this example) Enter:
- Username
- Password
- SSH Public Key – which is in your “C:\Documents and Settings\YourNameHere\.ssh\id_rsa.pub” file. All you need to do then is open, copy and paste it into the textarea
- You then can “Create Repository” if you would like. All you need to enter is:
- Project Name
- Description
- Homepage URL
- Select Who has access to the repository
Now working with Github
New Repo
- Open Git
- mkdir test_app
- cd test_app
- git init
- touch README
- git add README
- git commit –m ‘first commit’
- get remote add origin git@github.com:username/test_app.git
- git push origin master
Existing Git Repo
- cd existing_git_repo
- git remote add origin git@github.com:username/test_app.git
- git push origin master
For Much More on this topic go to http://is.gd/Pc7j