您的位置:首页 > 其它

Git on the way ,lesson 1

2012-03-29 21:27 330 查看
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 mingzhou87@gmail.com


Next steps:

mkdir HubbleRetrieval
  cd HubbleRetrieval
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:AlfredFu/HubbleRetrieval.git
  git push -u origin master


Existing Git Repo?

cd existing_git_repo
  git remote add origin git@github.com: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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: