github向远程提交代码

Global setup:

 Set up git
  git config --global user.name "frederick.mao(毛凌志)"
  git config --global user.email [email protected]
      

Next steps:

  mkdir test
  cd test
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin [email protected]:mlzboy/test.git
  git push -u origin master
      

Existing Git Repo?

  cd existing_git_repo
  git remote add origin [email protected]:mlzboy/test.git
  git push -u origin master
      

Importing a Subversion Repo?

  Check out the guide for step by step instructions.
      

When you're done:

  Continue

你可能感兴趣的:(github)