First you need a git account
Then create a git repository
create a project
operation guide:http://help.github.com/create-a-repo/
Then you will get following code:
Global setup:
Set up git git config --global user.name "Fred Fu" git config --global user.email [email protected]
Next steps:
mkdir HubbleRetrieval cd HubbleRetrieval git init touch README git add README git commit -m 'first commit' git remote add origin [email protected]:AlfredFu/HubbleRetrieval.git git push -u origin master
Existing Git Repo?
cd existing_git_repo git remote add origin [email protected]:AlfredFu/HubbleRetrieval.git git push -u origin master
Importing a Subversion Repo?
Check out the guide for step by step instructions.
When you're done:
Continue