GIT!!!

一、常用命令介绍

1.1 命令行介绍
1.1.1 Git 全局设置

$ git config --global user.name "knight"
$ git config --global user.email "knight@dayuan.com"

1.1.2 创建一个新仓库(本地)

$ git clone http://git.dayuan.cc/practice/git-exmple.git
cd git-exmple
$ touch README.md
$ git add README.md
$ git commit -m "add README"
$ git push -u origin master

https://www.jianshu.com/p/92305d949c0e

原文地址:https://www.cnblogs.com/liliuyu/p/12008799.html