我的博客提交命令

博客git提交命令老是忘记,这里做一记录。

  1. 防止出现fatal: remote origin already exists错误提示,首先输入下面命令git remote rm origin
  2. git add .添加所有文件,必要是一个一个的添加
  3. git commit -c "注释语句"
  4. git remote add origin https://github.com/soygrow/soygrow-blog.git
  5. git push -u origin master

整理的比较辛苦,如果本文对你有用,请留下你来过的痕迹,转载请注明出处! 2016年8月15号于北京 https://soygrow.github.io

热评文章