[关闭]
@awsekfozc 2018-07-05T10:05:50.000000Z 字数 871 阅读 833

git初始化

git

  1. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  2. $ git config --global user.name "命运"
  3. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  4. $ git config --global user.email "305855967@qq.com"
  5. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  6. $ git init
  7. Initialized empty Git repository in C:/workspace/amws-parent/.git/
  8. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  9. $ touch README.md
  10. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  11. $ git add README.md
  12. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  13. $ git commit -m "first commit"
  14. [master (root-commit) 97f69f6] first commit
  15. 1 file changed, 0 insertions(+), 0 deletions(-)
  16. create mode 100644 README.md
  17. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  18. $ git remote add origin https://gitee.com/awsekfozcz/smartdo.amws.parent.git
  19. zhangcheng@A000037 MINGW64 /c/workspace/amws-parent (master)
  20. $ git push -u origin master

在此输入正文

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注