关闭

Git on the way ,lesson 1

标签: gitsubversionup
384人阅读 评论(0) 收藏 举报
分类:

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


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:30891次
    • 积分:582
    • 等级:
    • 排名:千里之外
    • 原创:22篇
    • 转载:9篇
    • 译文:0篇
    • 评论:4条
    文章分类
    最新评论