Created
February 16, 2013 04:55
-
-
Save Atul9/4965603 to your computer and use it in GitHub Desktop.
GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GitHub: it's good for you! | |
A hands on development session on GitHub to help you jump start with collaborative open-source developments. Good if you already know Git; if not, then it'll help you learn. | |
Session covers GitHub basics, issues, wikis, pull-requests and github-pages for free static web-hosting for the project-websites. | |
More details: https://gist.github.com/debloper/4954530 | |
Gearing up: | |
Install Git in your system: http://git-scm.com/downloads | |
Additionally install GUI/Viz clients | |
Git-GUI is bundled in Windows' Git installer | |
Git-GUI for Linux can be installed with corresponding package managers (yum, aptitude, etc.) | |
GitX for Mac can be downloaded from http://gitx.frim.nl | |
There are a few other tools available for the brave ones: http://git-scm.com/downloads/guis | |
Get a GitHub account, if you haven't already done so | |
Visit http://github.com & fill the sign-up form | |
Verify the sign-up confirmation email | |
Revisit http://github.com & sign-in | |
Configure Git to use your (global) credentials | |
$ git config --global user.name "Full Name" | |
$ git config --global user.email "your@email.id" | |
$ git config --global credential.helper cache | |
$ git config --global core.autocrlf true — line-ending fix, for Windows only | |
[OPTIONAL] Setting up SSH keys | |
Run $ ssh-keygen -t rsa -C "your@email.id" | |
Provide a password for your id_rsa file generated in /.ssh | |
It's a good practice to give a password, but is NOT mandatory (blank password accepted). | |
Open the id_rsa.pub file, select all & copy its contents (don't miss even a single character) | |
Go to your GitHub account > Account Settings (Tools Icon) > SSH Keys > Add SSH Key | |
Here, paste the copied content in the input field & click "Add Key" | |
If everything went right, running $ ssh -T git@github.com should authenticate you | |
If you're confused, or need more detailed steps, then follow: https://help.github.com/articles/generating-ssh-keys | |
That's all... now, go Git it! ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment