My git Note
$ git config --global user.name "pooking"
$ git config --global user.email "[email protected]"
$ git config --global core.autocrlf input
$ git config --global core.selfcrlf true
$ git config --global core.autocrlf true
$ git config --global core.selfcrlf true
创建仓库
创建目录
$ mkdir codeDir
$ cd codeDir
初始化
$ git init
新建、提交文件
$ touch 1.txt
$ git add 1.txt
$ git commit -m "提交说明"
说明 该操作执行后,文件同步到本地仓库