简易的命令行入门教程:
Git 全局设置:
之前配置过可忽略
git config --global user.name dawson
git config --global 1074716097@qq.com
查看git配置信息:git config --list
1.创建本地git仓库:
mkdir git-demo-study
cd git-demo-study
git init
写内容:learn README.md
git commit -m "first commit"
2.如何推送到远程github仓库:
-
简化前操作命令:git push https://github.com/yanqs/git-demo-study.git mas