github 添加geilibuy仓库,给力百货开放源代码

Global setup:

 Download and install <a target="_blank" href="http://git-scm.com/download">Git</a>
  git config --global user.name "frederick.mao()"
  git config --global user.email frederick.mao@gmail.com
        

Next steps:

  mkdir geilibuy<br />  cd geilibuy<br />  git init<br />  touch README<br />  git add README<br />  git commit -m 'first commit'<br />  git remote add origin git@github.com:mlzboy/geilibuy.git<br />  git push -u origin master<br />      

Existing Git Repo?

  cd existing_git_repo<br />  git remote add origin git@github.com:mlzboy/geilibuy.git<br />  git push -u origin master<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />==================================<br />  git remote add origin git@github.com:mlzboy/geilibuy.git<br />git status<br />git push github master<br /><br />      

Importing a Subversion Repo?

  <a href="https://github.com/mlzboy/geilibuy/imports/new">Click here</a><br />      

When you're done:

  <a href="https://github.com/mlzboy/geilibuy">Continue</a>



原文地址:https://www.cnblogs.com/lexus/p/2060621.html