- if you are the first time to use github, what you need to do first are:
- Get a github account
- Download and install git.
- Set up git with your user name and email
- Now I am assume you use Linux/Ubuntu, I don’t use MAC
- Open a terminal/shell and type to config your github (name, email and color):
git config --global user.name "Shicheng-Guo" git config --global user.email "Shicheng.Guo@hotmail.com" git config --global color.ui true
- you can make more config if you want, for example, if you want to use emacs:
git config --global core.editor emacs
- the guide to setting up password-less logins (SSH keys connection).
ssh-keygen -t rsa -C "Shicheng.Guo@hotmail.com" less ~/.ssh/id_rsa.pub
- Now you will see ssh key and copy it and paste to SSH Keys in your github Account Settings and test the setting with the following command. You can have multiple key for different computers so that all of them can be connected with your github account.
ssh -T git@github.com
- Hope you can receive the following response
Hi username! You've successfully authenticated, but Github does not provide shell access.
- Open a terminal/shell and type to config your github (name, email and color):
- Okay, Now we start for the second step, to create new project or upload codes to existed project
Disclosure.
- All the opinions are my own and not the views of my employer
- All the blogs are my own and not the views of my employer
- All the opinions are my own and not the views of my employer
- All the contents are my own and should never be taken seriously
- All the contents are only used for help. reminding me if misleading happens
- All the figures are only used for non-profit education. reminding me if infrigement happens