Thursday, November 5, 2015

Creating a project repository in Github


1. Create an account in github and verify your email
2. Click on the dropdown on top right side with a + sign. It takes you to the url https://github.com/new
3. Give a repository name and click on create repository.


Working with github:
In order to clone the repository, you need-
1. Create an ssh key by following this link
https://help.github.com/articles/generating-ssh-keys/

2. Add the ssh public key to the github page at this location
https://github.com/settings/ssh

3. Run the following command-
 git clone git@github.com:/.git

4. Do the following to set your username/password

git config --global user.name "your name"
git config --global user.email "your@email.com"

5. Pushing your change to github:
git push origin  localbranch:master

No comments: